8 .macro divs_seq q, a, b, r, y, y0, an, bn, e, ex
36 .macro div_s fr0, fr1, fr2
37 divs_seq \fr0, \fr1, \fr2, f9, f10, f11, f12, f13, f14, f15
45 .macro check_res fr, r, sr
59 test_op2 div_s, f0, f1, f2, 0x40000000, 0x40400000, \
60 0x3f2aaaab, 0x3f2aaaaa, 0x3f2aaaab, 0x3f2aaaaa, \
61 FSR_I, FSR_I, FSR_I, FSR_I
62 test_op2 div_s, f3, f4, f5, F32_1, F32_0, \
63 F32_PINF, F32_PINF, F32_PINF, F32_PINF, \
64 FSR_Z, FSR_Z, FSR_Z, FSR_Z
65 test_op2 div_s, f6, f7, f8, F32_0, F32_0, \
66 F32_DNAN, F32_DNAN, F32_DNAN, F32_DNAN, \
67 FSR_V, FSR_V, FSR_V, FSR_V
69 /* MAX_FLOAT / 0.5 = +inf/MAX_FLOAT */
70 test_op2 div_s, f0, f1, f2, F32_MAX, F32_0_5, \
71 F32_PINF, F32_MAX, F32_PINF, F32_MAX, \
72 FSR_OI, FSR_OI, FSR_OI, FSR_OI
74 /* 0.5 / MAX_FLOAT = denorm */
75 test_op2 div_s, f0, f1, f2, F32_0_5, F32_MAX, \
76 0x00100000, 0x00100000, 0x00100001, 0x00100000, \
77 FSR_UI, FSR_UI, FSR_UI, FSR_UI