3 # as(sh): -defsym sim_cpu=0
5 .include "testutils.inc"
13 # 1.0 / 0.0 should be INF
14 # (and not crash the sim).
18 assert_fpreg_x
0x7f800000, fr1
33 # (1.0 / 2.0) + (1.0 / 2.0) == 1.0.
38 # fr1 should contain 0.5.
61 # (1.0 / 2.0) + (1.0 / 2.0) == 1.0.
64 # This add must be in single precision. The rest must be in double.
70 # dr0 should contain 0.5.
71 # double it, expect 1.0.