old-cross-binutils/sim/testsuite/mips64vr5900el-elf/t-pdivbw.s

19 lines
484 B
ArmAsm
Raw Normal View History

1997-07-11 21:36:11 +00:00
.include "t-macros.i"
start
test_pdivbw:
load $7 0x7fffffff80000000 0x0000000100000001
load $8 0x0000000000000000 0x000000000000ffff
pdivbw $7,$8 #Expectation:
checkHI 0x0000000000000000 0x0000000000000000
checkLO 0x8000000180000000 0xffffffffffffffff
test_pdivbw_0:
load $7 0x7fffffff80000000 0x0000000100000001
load $8 0x0000000000000000 0x0000000000000000
pdivbw $7,$8 #Expectation:
# don't crash!
exit0