darling-gdb/sim/testsuite/mips64r5900-elf/f-max.s
1998-02-25 15:04:11 +00:00

19 lines
201 B
ArmAsm

.include "t-macros.i"
start
loadfp $f1, 1.0
loadfp $f2, 2.0
test_max1:
clearfcsr
max.s $f3, $f1, $f2
checkfp 0 $f3 2.0
test_max2:
clearfcsr
max.s $f3, $f2, $f1
checkfp 0 $f3 2.0
exit0