Closed fourcolor closed 1 year ago
Refer to RISC-V ISA spec Chapter 6, signed division overflow occurs only when the most-negative integer, $−2^{XLEN −1}$, is divided by $−1$. The quotient of signed division overflow is equal to the dividend, and the remainder is zero.
Thank @fourcolor for contributing!
Refer to RISC-V ISA spec Chapter 6, signed division overflow occurs only when the most-negative integer, $−2^{XLEN −1}$, is divided by $−1$. The quotient of signed division overflow is equal to the dividend, and the remainder is zero.