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

banshee: Handle divide by zero for integer instructions #10

Open
huettern opened this issue Jan 5, 2022 · 1 comment
Open

banshee: Handle divide by zero for integer instructions #10

huettern opened this issue Jan 5, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@huettern
Copy link

huettern commented Jan 5, 2022

Currently a divu with a zero divisor causes a floating point exception and banshee crashes.

According to the RISC-V ISA manual a division by zero is clearly defined and should not result in an exception.

The value of all bits set is returned for both unsigned and signed divide by zero to simplify the divider circuitry.

This can easily be implemented in banshee

@huettern huettern added the bug Something isn't working label Jan 5, 2022
@paulsc96 paulsc96 transferred this issue from pulp-platform/snitch Nov 22, 2023
@howjmay
Copy link
Contributor

howjmay commented Feb 23, 2024

Is this problem still exist?

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

No branches or pull requests

2 participants