Skip to content

DIVU by 0 should 0xFFFFFFFF instead of rs1#23

Open
rileylyman wants to merge 1 commit intokvakil:masterfrom
rileylyman:patch-1
Open

DIVU by 0 should 0xFFFFFFFF instead of rs1#23
rileylyman wants to merge 1 commit intokvakil:masterfrom
rileylyman:patch-1

Conversation

@rileylyman
Copy link
Copy Markdown

@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
Copy Markdown
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.

1 participant