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

DIVU by 0 should 0xFFFFFFFF instead of rs1 #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rileylyman
Copy link

@rileylyman rileylyman commented Jan 5, 2019

DIVU by 0 currently returns the dividend, whereas the current spec (2.2) for the M extension specifies that all bits should be set in the result.

@rileylyman rileylyman changed the title DIVU by 0 should return max value DIVU by 0 should 0xFFFFFFFF instead of rs1 Jan 5, 2019
@rileylyman
Copy link
Author

@kvakil Do you need me to change anything before merge?

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

Successfully merging this pull request may close these issues.

None yet

1 participant