Skip to content

banshee: Handle divide by zero for integer instructions #10

Description

@huettern

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions