gcc/libgcc/config/riscv
Jim Wilson 4013baf99c RISC-V: Make __divdi3 handle div by zero same as hardware.
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.
2020-06-02 11:44:44 -07:00
..
atomic.c Update copyright years. 2020-01-01 12:51:42 +01:00
crti.S
crtn.S
div.S RISC-V: Make __divdi3 handle div by zero same as hardware. 2020-06-02 11:44:44 -07:00
linux-unwind.h Update copyright years. 2020-01-01 12:51:42 +01:00
muldi3.S Update copyright years. 2020-01-01 12:51:42 +01:00
multi3.c Update copyright years. 2020-01-01 12:51:42 +01:00
riscv-asm.h Update copyright years. 2020-01-01 12:51:42 +01:00
save-restore.S Update copyright years. 2020-01-01 12:51:42 +01:00
sfp-machine.h Update copyright years. 2020-01-01 12:51:42 +01:00
t-elf
t-elf32
t-elf64
t-softfp32
t-softfp64