Name |
Last commit
|
Last update |
---|---|---|
.. | ||
atomic.c | ||
crti.S | ||
crtn.S | ||
div.S | ||
linux-unwind.h | ||
muldi3.S | ||
multi3.c | ||
riscv-asm.h | ||
save-restore.S | ||
sfp-machine.h | ||
t-elf | ||
t-elf32 | ||
t-elf64 | ||
t-softfp32 | ||
t-softfp64 |
The ISA manual specifies that divide by zero always returns -1 as the result. We were failing to do that when the dividend was negative. Original patch from Virginie Moser. libgcc/ * config/riscv/div.S (__divdi3): For negative arguments, change bgez to bgtz.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
atomic.c | Loading commit data... | |
crti.S | Loading commit data... | |
crtn.S | Loading commit data... | |
div.S | Loading commit data... | |
linux-unwind.h | Loading commit data... | |
muldi3.S | Loading commit data... | |
multi3.c | Loading commit data... | |
riscv-asm.h | Loading commit data... | |
save-restore.S | Loading commit data... | |
sfp-machine.h | Loading commit data... | |
t-elf | Loading commit data... | |
t-elf32 | Loading commit data... | |
t-elf64 | Loading commit data... | |
t-softfp32 | Loading commit data... | |
t-softfp64 | Loading commit data... |