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

RISC-V __mulsf3: handle exponent increase due to rounding #2086

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

Wren6991
Copy link
Contributor

Originally reported by @Panda381. I thought this case was unreachable for multiply, but it's unfortunately just rare. This costs one cycle.

@Wren6991 Wren6991 added the bug Something isn't working label Nov 23, 2024
@Wren6991 Wren6991 added this to the 2.1.0 milestone Nov 23, 2024
@Wren6991
Copy link
Contributor Author

Ah, this needs to also check overflow after exponent adjustment. I'll add another testcase

@Wren6991 Wren6991 force-pushed the fix-mulsf3-exponent branch from a955473 to 0cc6f37 Compare November 23, 2024 00:58
@Wren6991 Wren6991 force-pushed the fix-mulsf3-exponent branch from 0cc6f37 to ce517af Compare November 23, 2024 01:01
@Wren6991
Copy link
Contributor Author

...and do that without making underflow slower. Ready for review now

@kilograham kilograham merged commit 65d118c into develop Nov 23, 2024
8 checks passed
@kilograham kilograham deleted the fix-mulsf3-exponent branch November 23, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants