Home | History | Annotate | Download | only in s390x

Lines Matching refs:round

6 #define I2F(insn,  initial, target,round)                                \
14 #define F2L(insn, initial, type, round, cc) \
18 asm volatile(insn " 2," #round ",0\n\t" \
26 #define DO_INSN_I2F32(insn, round) \
29 printf(#insn " %f\n", I2F(insn, 0, f32, round)); \
30 printf(#insn " %f\n", I2F(insn, 1, f32, round)); \
31 printf(#insn " %f\n", I2F(insn, 0xffffffffUL, f32, round)); \
32 printf(#insn " %f\n", I2F(insn, 0x80000000UL, f32, round)); \
33 printf(#insn " %f\n", I2F(insn, 0x7fffffffUL, f32, round)); \
34 printf(#insn " %f\n", I2F(insn, 0x100000000UL, f32, round)); \
35 printf(#insn " %f\n", I2F(insn, 0xffffffffffffffffUL, f32, round)); \
36 printf(#insn " %f\n", I2F(insn, 0x8000000000000000UL, f32, round)); \
37 printf(#insn " %f\n", I2F(insn, 0x7fffffffffffffffUL, f32, round)); \
40 #define DO_INSN_I2F64(insn, round) \
43 printf(#insn " %f\n", I2F(insn, 0, f64, round)); \
44 printf(#insn " %f\n", I2F(insn, 1, f64, round)); \
45 printf(#insn " %f\n", I2F(insn, 0xffffffffUL, f64, round)); \
46 printf(#insn " %f\n", I2F(insn, 0x80000000UL, f64, round)); \
47 printf(#insn " %f\n", I2F(insn, 0x7fffffffUL, f64, round)); \
48 printf(#insn " %f\n", I2F(insn, 0x100000000UL, f64, round)); \
49 printf(#insn " %f\n", I2F(insn, 0xffffffffffffffffUL, f64, round)); \
50 printf(#insn " %f\n", I2F(insn, 0x8000000000000000UL, f64, round)); \
51 printf(#insn " %f\n", I2F(insn, 0x7fffffffffffffffUL, f64, round)); \
54 #define DO_INSN_I2F128(insn, round) \
57 printf(#insn " %Lf\n", I2F(insn, 0, f128, round)); \
58 printf(#insn " %Lf\n", I2F(insn, 1, f128, round)); \
59 printf(#insn " %Lf\n", I2F(insn, 0xffffffffUL, f128, round)); \
60 printf(#insn " %Lf\n", I2F(insn, 0x80000000UL, f128, round)); \
61 printf(#insn " %Lf\n", I2F(insn, 0x7fffffffUL, f128, round)); \
62 printf(#insn " %Lf\n", I2F(insn, 0x100000000UL, f128, round)); \
63 printf(#insn " %Lf\n", I2F(insn, 0xffffffffffffffffUL, f128, round)); \
64 printf(#insn " %Lf\n", I2F(insn, 0x8000000000000000UL, f128, round)); \
65 printf(#insn " %Lf\n", I2F(insn, 0x7fffffffffffffffUL, f128, round)); \
68 #define DO_INSN_F2L(insn, round, type) \
71 printf(#insn " %ld ", F2L(insn, -1.1, type, round, cc)); \
73 printf(#insn " %ld ", F2L(insn, 0, type, round, cc)); \
75 printf(#insn " %ld ", F2L(insn, 1, type, round, cc)); \
77 printf(#insn " %ld ", F2L(insn, 1.4, type, round, cc)); \
79 printf(#insn " %ld ", F2L(insn, 1.5, type, round, cc)); \
81 printf(#insn " %ld ", F2L(insn, 1.6, type, round, cc)); \
83 printf(#insn " %ld ", F2L(insn, 1.6E+4, type, round, cc)); \
85 printf(#insn " %ld ", F2L(insn, 1.6E+8, type, round, cc)); \
87 printf(#insn " %ld ", F2L(insn, 1.6E+12, type, round, cc)); \
89 printf(#insn " %ld ", F2L(insn, 1.6E+20, type, round, cc)); \
91 printf(#insn " %ld ", F2L(insn, 1.6E+200, type, round, cc)); \
93 printf(#insn " %ld ", F2L(insn, 1.6E+2000L, type, round, cc)); \
95 printf(#insn " %ld ", F2L(insn, 1.6E-4, type, round, cc)); \
97 printf(#insn " %ld ", F2L(insn, FLT_MIN, type, round, cc)); \
99 printf(#insn " %ld ", F2L(insn, FLT_MAX, type, round, cc)); \
101 printf(#insn " %ld ", F2L(insn, DBL_MIN, type, round, cc)); \
103 printf(#insn " %ld ", F2L(insn, DBL_MAX, type, round, cc)); \
105 printf(#insn " %ld ", F2L(insn, LDBL_MIN, type, round, cc)); \
107 printf(#insn " %ld ", F2L(insn, LDBL_MAX, type, round, cc)); \
111 #define DO_I2F(round) \
113 DO_INSN_I2F32("cefbr", round); \
114 DO_INSN_I2F32("cegbr", round); \
115 DO_INSN_I2F64("cdfbr", round); \
116 DO_INSN_I2F64("cdgbr", round); \
117 DO_INSN_I2F128("cxfbr", round); \
118 DO_INSN_I2F128("cxgbr", round); \
121 #define DO_F2L(round) \
123 DO_INSN_F2L("cfebr", round, float); \
124 DO_INSN_F2L("cgebr", round, float); \
125 DO_INSN_F2L("cfdbr", round, double); \
126 DO_INSN_F2L("cgdbr", round, double); \
127 DO_INSN_F2L("cfxbr", round, long double); \
128 DO_INSN_F2L("cgxbr", round, long double); \