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

Merged
Wren6991 merged 1 commit from fix-mulsf3-exponent into develop 2024-11-23 13:02:03 -06:00
Wren6991 commented 2024-11-22 18:19:56 -06:00 (Migrated from github.com)

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

Originally reported by @Panda381. I thought this case was unreachable for multiply, but it's unfortunately just rare. This costs one cycle.
will-v-pi (Migrated from github.com) reviewed 2024-11-22 18:19:56 -06:00
Wren6991 commented 2024-11-22 18:47:09 -06:00 (Migrated from github.com)

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

Ah, this needs to also check overflow after exponent adjustment. I'll add another testcase
Wren6991 commented 2024-11-22 19:02:04 -06:00 (Migrated from github.com)

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

...and do that without making underflow slower. Ready for review now
kilograham (Migrated from github.com) approved these changes 2024-11-23 13:01:56 -06:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!2086
No description provided.