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

fdsu.pack: Correct Underflow logic #96

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

gregdavill
Copy link
Contributor

For the opene906 div/sqrt unit.

Handle correct behavior when executing DIV instruction.
Flag underflow if result with unbounded exponent would lie between +/-b^(emin).
Even if rounded result is exactly [+/-]01.000000.

Use ex4_denorm_potnt_norm, a flag that is set when a denormal result rounds to a normal result.

Issue #94

Handle correct behavior when executing DIV instruction.
Flag underflow if result with unbounded exponent would lie between
+/-b^(emin). Even if rounded result is exactly [+/-]01.000000.
Use ex4_denorm_potnt_norm, a flag that is set when a denormal result
rounds to a normal result.

Signed-off-by: Greg Davill <[email protected]>
@pascalgouedo
Copy link

Fix confirmed on CV32E40Pv2 with new tests available in PR #2135.

@pascalgouedo pascalgouedo merged commit 566282b into openhwgroup:develop Aug 21, 2023
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.

2 participants