Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible clerical error in the "Operations" section of the UKSUBH instruction #148

Open
zhang-hairui opened this issue Jan 22, 2023 · 0 comments

Comments

@zhang-hairui
Copy link

Hi, may I ask if the first "if" block in the "Operations" section of the UKSUBH instruction on page 431 in RISC-V "P" extension proposal version 0.9.11-draft-20211209 is redundant, because the range of 17 bit signed numbers is [-2^16,2^16-1]. In other words, no matter what the values of a17 and b17 are, the first "if" condition will not be satisfied, so the first "if" block should be removed. The fact that the first "if" block still exists makes me think that the condition for the fourth line of the "Operations" section might be "u>" instead of "s>" , because when the judgment condition is "u>", the existence of the first "if" is meaningful. I am looking forward to your answer. Thank you very much!
issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant