/soft-fp/ |
A D | double.h | 91 # define FP_DECL_D(X) _FP_DECL (2, X) argument 169 # define FP_ISSIGNAN_D(X) _FP_ISSIGNAN (D, 2, X) argument 170 # define FP_NEG_D(R, X) _FP_NEG (D, 2, R, X) argument 175 # define FP_SQRT_D(R, X) _FP_SQRT (D, 2, R, X) argument 188 # define _FP_FRAC_HIGH_D(X) _FP_FRAC_HIGH_2 (X) argument 191 # define _FP_FRAC_HIGH_DW_D(X) _FP_FRAC_HIGH_4 (X) argument 212 # define FP_DECL_D(X) _FP_DECL (1, X) argument 290 # define FP_ISSIGNAN_D(X) _FP_ISSIGNAN (D, 1, X) argument 291 # define FP_NEG_D(R, X) _FP_NEG (D, 1, R, X) argument 296 # define FP_SQRT_D(R, X) _FP_SQRT (D, 1, R, X) argument [all …]
|
A D | extended.h | 94 # define FP_DECL_E(X) _FP_DECL (4, X) argument 231 # define FP_NEG_E(R, X) _FP_NEG (E, 4, R, X) argument 236 # define FP_SQRT_E(R, X) _FP_SQRT (E, 4, R, X) argument 283 if (X##_f[0] | X##_f[1]) \ 303 # define _FP_FRAC_HIGH_E(X) (X##_f[2]) argument 304 # define _FP_FRAC_HIGH_RAW_E(X) (X##_f[1]) argument 306 # define _FP_FRAC_HIGH_DW_E(X) (X##_f[4]) argument 327 # define FP_DECL_E(X) _FP_DECL (2, X) argument 509 # define _FP_FRAC_HIGH_E(X) (X##_f1) argument 510 # define _FP_FRAC_HIGH_RAW_E(X) (X##_f0) argument [all …]
|
A D | quad.h | 96 # define FP_DECL_Q(X) _FP_DECL (4, X) argument 174 # define FP_ISSIGNAN_Q(X) _FP_ISSIGNAN (Q, 4, X) argument 175 # define FP_NEG_Q(R, X) _FP_NEG (Q, 4, R, X) argument 180 # define FP_SQRT_Q(R, X) _FP_SQRT (Q, 4, R, X) argument 193 # define _FP_FRAC_HIGH_Q(X) _FP_FRAC_HIGH_4 (X) argument 196 # define _FP_FRAC_HIGH_DW_Q(X) _FP_FRAC_HIGH_8 (X) argument 222 # define FP_DECL_Q(X) _FP_DECL (2, X) argument 300 # define FP_ISSIGNAN_Q(X) _FP_ISSIGNAN (Q, 2, X) argument 301 # define FP_NEG_Q(R, X) _FP_NEG (Q, 2, R, X) argument 306 # define FP_SQRT_Q(R, X) _FP_SQRT (Q, 2, R, X) argument [all …]
|
A D | single.h | 84 #define FP_DECL_S(X) _FP_DECL (1, X) argument 162 #define FP_ISSIGNAN_S(X) _FP_ISSIGNAN (S, 1, X) argument 163 #define FP_NEG_S(R, X) _FP_NEG (S, 1, R, X) argument 164 #define FP_ADD_S(R, X, Y) _FP_ADD (S, 1, R, X, Y) argument 165 #define FP_SUB_S(R, X, Y) _FP_SUB (S, 1, R, X, Y) argument 166 #define FP_MUL_S(R, X, Y) _FP_MUL (S, 1, R, X, Y) argument 167 #define FP_DIV_S(R, X, Y) _FP_DIV (S, 1, R, X, Y) argument 168 #define FP_SQRT_S(R, X) _FP_SQRT (S, 1, R, X) argument 186 #define _FP_FRAC_HIGH_S(X) _FP_FRAC_HIGH_1 (X) argument 187 #define _FP_FRAC_HIGH_RAW_S(X) _FP_FRAC_HIGH_1 (X) argument [all …]
|
A D | half.h | 81 #define FP_DECL_H(X) _FP_DECL (1, X) argument 82 #define FP_UNPACK_RAW_H(X, val) _FP_UNPACK_RAW_1 (H, X, (val)) argument 83 #define FP_UNPACK_RAW_HP(X, val) _FP_UNPACK_RAW_1_P (H, X, (val)) argument 84 #define FP_PACK_RAW_H(val, X) _FP_PACK_RAW_1 (H, (val), X) argument 125 #define FP_PACK_H(val, X) \ argument 159 #define FP_TO_INT_H(r, X, rsz, rsg) _FP_TO_INT (H, 1, (r), X, (rsz), (rsg)) argument 162 #define FP_FROM_INT_H(X, r, rs, rt) _FP_FROM_INT (H, 1, X, (r), (rs), rt) argument 166 #define _FP_FRAC_HIGH_H(X) _FP_FRAC_HIGH_1 (X) argument 167 #define _FP_FRAC_HIGH_RAW_H(X) _FP_FRAC_HIGH_1 (X) argument 168 #define _FP_FRAC_HIGH_DW_H(X) _FP_FRAC_HIGH_1 (X) argument [all …]
|
A D | op-1.h | 34 #define _FP_FRAC_SET_1(X, I) (X##_f = I) argument 35 #define _FP_FRAC_HIGH_1(X) (X##_f) argument 36 #define _FP_FRAC_LOW_1(X) (X##_f) argument 37 #define _FP_FRAC_WORD_1(X, w) (X##_f) argument 39 #define _FP_FRAC_ADDI_1(X, I) (X##_f += I) argument 44 X##_f += X##_f; \ 49 #define _FP_FRAC_SRL_1(X, N) (X##_f >>= N) argument 61 X = X >> (N); \ 77 #define _FP_FRAC_ZEROP_1(X) (X##_f == 0) argument 83 #define _FP_FRAC_GT_1(X, Y) (X##_f > Y##_f) argument [all …]
|
A D | op-8.h | 34 #define _FP_FRAC_DECL_8(X) _FP_W_TYPE X##_f[8] argument 35 #define _FP_FRAC_SET_8(X, I) __FP_FRAC_SET_8 (X, I) argument 36 #define _FP_FRAC_HIGH_8(X) (X##_f[7]) argument 37 #define _FP_FRAC_LOW_8(X) (X##_f[0]) argument 38 #define _FP_FRAC_WORD_8(X, w) (X##_f[w]) argument 64 X##_f[_FP_FRAC_SLL_8_i--] = X##_f[0] << _FP_FRAC_SLL_8_up; \ 203 #define _FP_FRAC_NEGP_8(X) ((_FP_WS_TYPE) X##_f[7] < 0) argument 205 ((X##_f[0] | X##_f[1] | X##_f[2] | X##_f[3] \ 206 | X##_f[4] | X##_f[5] | X##_f[6] | X##_f[7]) == 0) 232 (X##_f[7] = I7, X##_f[6] = I6, X##_f[5] = I5, X##_f[4] = I4, \ [all …]
|
A D | op-2.h | 36 #define _FP_FRAC_HIGH_2(X) (X##_f1) argument 37 #define _FP_FRAC_LOW_2(X) (X##_f0) argument 45 X##_f1 = X##_f1 + X##_f1 + (((_FP_WS_TYPE) (X##_f0)) < 0); \ 46 X##_f0 += X##_f0; \ 50 X##_f1 = X##_f1 << (N) | X##_f0 >> (_FP_W_TYPE_SIZE - (N)); \ 64 X##_f0 = X##_f0 >> (N) | X##_f1 << (_FP_W_TYPE_SIZE - (N)); \ 136 #define _FP_FRAC_ZEROP_2(X) ((X##_f1 | X##_f0) == 0) argument 141 #define _FP_FRAC_EQ_2(X, Y) (X##_f1 == Y##_f1 && X##_f0 == Y##_f0) argument 143 (X##_f1 > Y##_f1 || (X##_f1 == Y##_f1 && X##_f0 > Y##_f0)) 145 (X##_f1 > Y##_f1 || (X##_f1 == Y##_f1 && X##_f0 >= Y##_f0)) [all …]
|
A D | op-4.h | 38 #define _FP_FRAC_LOW_4(X) (X##_f[0]) argument 160 X##_f[3], X##_f[2], X##_f[1], X##_f[0], \ 165 X##_f[3], X##_f[2], X##_f[1], X##_f[0], \ 169 __FP_FRAC_DEC_4 (X##_f[3], X##_f[2], X##_f[1], X##_f[0], \ 173 __FP_FRAC_ADDI_4 (X##_f[3], X##_f[2], X##_f[1], X##_f[0], I) 179 #define _FP_FRAC_ZEROP_4(X) ((X##_f[0] | X##_f[1] | X##_f[2] | X##_f[3]) == 0) argument 516 __FP_FRAC_SUB_4 (X##_f[3], X##_f[2], X##_f[1], X##_f[0], \ 518 X##_f[2], X##_f[1], X##_f[0], \ 530 X##_f[3], X##_f[3], X##_f[2], Y##_f[3]); \ 616 __FP_FRAC_DEC_3 (X##_f[3], X##_f[2], X##_f[1], \ [all …]
|
A D | op-common.h | 76 X); \ 106 #define _FP_UNPACK_SEMIRAW(fs, wc, X) _FP_FRAC_SLL_##wc (X, _FP_WORKBITS) argument 217 = X##_e == 0 && !_FP_FRAC_ZEROP_##wc (X); \ 241 X##_e++; \ 246 if (X##_e == _FP_EXPMAX_##fs && !_FP_FRAC_ZEROP_##wc (X)) \ 277 X##_e++; \ 327 X##_e = -X##_e + 1; \ 330 _FP_FRAC_SRS_##wc (X, X##_e, _FP_WFRACBITS_##fs); \ 1278 if ((X##_e == 0 && !_FP_FRAC_ZEROP_##wc (X)) \ 1322 = (!X##_e && _FP_FRAC_ZEROP_##wc (X)) ? 1 : 0; \ [all …]
|
A D | soft-fp.h | 255 #define _FP_ROUND_NEAREST(wc, X) \ argument 263 #define _FP_ROUND_ZERO(wc, X) (void) 0 argument 265 #define _FP_ROUND_PINF(wc, X) \ argument 268 if (!X##_s && (_FP_FRAC_LOW_##wc (X) & 7)) \ 273 #define _FP_ROUND_MINF(wc, X) \ argument 276 if (X##_s && (_FP_FRAC_LOW_##wc (X) & 7)) \ 281 #define _FP_ROUND(wc, X) \ argument 290 _FP_ROUND_NEAREST (wc, X); \ 293 _FP_ROUND_ZERO (wc, X); \ 296 _FP_ROUND_PINF (wc, X); \ [all …]
|
A D | testit.c | 164 FP_DECL_S(X); in gen_special_float() 188 FP_PACK_S(x, X); in gen_special_float() 195 FP_DECL_D(X); in gen_special_double() 203 __FP_FRAC_SET_2(X, _FP_QNANNEGATEDP ? 0 : _FP_QNANBIT_D, 0x1234); in gen_special_double() 205 _FP_FRAC_SET_1(X, (_FP_QNANNEGATEDP ? 0 : _FP_QNANBIT_D) | 0x1234); in gen_special_double() 211 __FP_FRAC_SET_2(X, _FP_QNANNEGATEDP ? 0 : _FP_QNANBIT_D, 0x1); in gen_special_double() 213 _FP_FRAC_SET_1(X, (_FP_QNANNEGATEDP ? 0 : _FP_QNANBIT_D) | 0x1); in gen_special_double() 225 __FP_FRAC_SET_2(X, 0, 0x87654321); in gen_special_double() 227 _FP_FRAC_SET_1(X, 0x87654321); in gen_special_double() 233 FP_PACK_D(x, X); in gen_special_double()
|