old-cross-binutils/sim/testsuite/mips64r5900-elf/f-abs.s
1998-02-25 15:04:11 +00:00

18 lines
203 B
ArmAsm

.include "t-macros.i"
start
test_abs1:
clearfcsr
loadfp $f1 4.0
abs.s $f2, $f1
checkfp 0 $f2 4.0
test_abs2:
clearfcsr
loadfp $f1 4.0
neg.s $f1, $f1
abs.s $f2, $f1
checkfp 0 $f2 4.0
exit0