old-cross-binutils/sim/testsuite/mips64vr5900el-elf/t-pdivw.s
1997-07-11 21:36:11 +00:00

18 lines
470 B
ArmAsm

.include "t-macros.i"
start
test_pdivw:
load $7 0x000000007fffffff 0xffffffff80000000
load $8 0xffffffffffffffff 0xffffffffffffffff
pdivw $7,$8 #Expectation:
checkHI 0x0000000000000000 0x0000000000000000
checkLO 0xffffffff80000001 0xffffffff80000000
test_pdivw_0:
load $7 0x000000007fffffff 0xffffffff80000000
load $8 0x0000000000000000 0x0000000000000000
pdivw $7,$8 #Expectation:
# don't crash!
exit0