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

26 lines
575 B
ArmAsm
Raw Normal View History

1997-07-11 21:36:11 +00:00
.include "t-macros.i"
start
test_pmfhl_slw_ok:
load $7 0xffffffffffffffff 0xffffffff7fffffff
load $8 0xffffffffffffffff 0xffffffffffffffff
pmthi $7
pmtlo $8
nop
nop
pmfhl.slw $10 #Expectation:
check10 0xffffffffffffffff 0x000000007fffffff
test_pmfhl_slw:
load $7 0xffffffffffffffff 0xffffffff7fffffff
load $8 0xffffffff00000000 0xffffffffffffffff
pmthi $7
pmtlo $8
nop
nop
pmfhl.slw $10 #Expectation:
check10 0xffffffff80000000 0x000000007fffffff
exit0