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

15 lines
421 B
ArmAsm

.include "t-macros.i"
start
test_phmaddh:
load $7 0x8000800080007fff 0x800080007fff8000
load $8 0x8000800080007fff 0x80007fff80007fff
phmaddh $10,$7,$8 #Expectation:
check10 0x800000007fff0001 0x0000800080010000
#checkHI xxxxxxxxxx80000000 0xxxxxxxxx00008000
#checkLO xxxxxxxxxx7fff0001 0xxxxxxxxx80010000
pmfhl.lw $10
check10 0x800000007fff0001 0x0000800080010000
exit0