/haiku-buildtools/gcc/libgcc/config/libbid/ |
H A D | bid128_scalb.c | 36 UINT64 sign_x; variable 40 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 53 get_BID128_very_fast (&res, sign_x, exponent_x, CX); 62 get_BID128_very_fast (&res, sign_x, exponent_x, CX); 84 get_BID128_very_fast (&res, sign_x, exponent_x, CX); 92 get_BID128 (&res, sign_x, exponent_x, CX, (unsigned int *) &rmode,
|
H A D | bid64_scalb.c | 45 UINT64 sign_x, coefficient_x, res; local 58 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 71 res = very_fast_get_BID64 (sign_x, exponent_x, coefficient_x); // 0 80 res = very_fast_get_BID64 (sign_x, exponent_x, coefficient_x); 94 res = very_fast_get_BID64 (sign_x, exponent_x, coefficient_x); 102 res = get_BID64 (sign_x, exponent_x, coefficient_x, rmode, pfpsf);
|
H A D | bid64_string.c | 46 UINT64 sign_x, coefficient_x, D, ER10; local 61 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 67 ps[0] = (sign_x) ? '-' : '+'; 76 ps[0] = (sign_x) ? '-' : '+'; 85 if (sign_x) { 136 if (sign_x) { 252 UINT64 sign_x, coefficient_x = 0, rounded = 0, res; local 324 sign_x = 0x8000000000000000ull; 326 sign_x = 0; 336 res = 0x7c00000000000000ull | sign_x; [all...] |
H A D | bid64_rem.c | 65 UINT64 sign_x, sign_y, coefficient_x, coefficient_y, res; local 77 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 122 res = x | sign_x; 141 res = very_fast_get_BID64 (sign_x, exponent_x, coefficient_x); 179 sign_x ^= 0x8000000000000000ull; 182 res = very_fast_get_BID64 (sign_x, exponent_x, R); 214 res = very_fast_get_BID64_small_mantissa (sign_x, exponent_y, 0); 222 sign_x ^= 0x8000000000000000ull; 225 res = very_fast_get_BID64 (sign_x, exponent_y, coefficient_x);
|
H A D | bid32_to_bid64.c | 32 UINT32 sign_x; 36 if (!unpack_BID32 (&sign_x, &exponent_x, &coefficient_x, x)) { 53 very_fast_get_BID64_small_mantissa (((UINT64) sign_x) << 32, 80 UINT64 sign_x, coefficient_x, remainder_h, carry, Stemp; 94 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 111 res = (sign_x >> 32) | (exponent_x << 23); 130 if (sign_x && (unsigned) (rmode - 1) < 2) 212 get_BID32 ((UINT32) (sign_x >> 32),
|
H A D | bid64_logb.c | 40 UINT64 sign_x, coefficient_x; local 48 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) {
|
H A D | bid128_logb.c | 30 UINT64 sign_x; variable 35 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) {
|
H A D | bid64_quantize.c | 46 UINT64 sign_x, sign_y, coefficient_x, coefficient_y, remainder_h, C64, local 62 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 112 res = very_fast_get_BID64_small_mantissa (sign_x, exponent_y, 0); 129 res = very_fast_get_BID64 (sign_x, exponent_y, coefficient_x); 137 if (sign_x && (unsigned) (rmode - 1) < 2) 208 res = very_fast_get_BID64_small_mantissa (sign_x, exponent_y, C64); 220 if (sign_x && (unsigned) (rmode - 1) < 2) 226 res = very_fast_get_BID64_small_mantissa (sign_x, exponent_y, C64);
|
H A D | bid64_to_bid128.c | 33 UINT64 sign_x; 37 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 52 get_BID128_very_fast (&res, sign_x, 78 UINT64 sign_x, carry, cy, res; 92 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 110 res = sign_x; 115 res = sign_x | (((UINT64) exponent_x) << 53); 139 if (sign_x && (unsigned) (rmode - 1) < 2) 257 get_BID64 (sign_x,
|
H A D | bid32_to_bid128.c | 33 UINT32 sign_x; 37 if (!unpack_BID32 (&sign_x, &exponent_x, &coefficient_x, x)) { 54 get_BID128_very_fast (&res, ((UINT64) sign_x) << 32, 79 UINT64 sign_x, carry, cy; 94 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 115 res = (sign_x >> 32) | (exponent_x << 23); 140 if (sign_x && (unsigned) (rmode - 1) < 2) 259 get_BID32 ((UINT32) (sign_x >> 32),
|
H A D | bid128_quantize.c | 31 UINT64 sign_x, sign_y, remainder_h, carry, CY64, valid_x; 36 valid_x = unpack_BID128_value (&sign_x, &exponent_x, &CX, x); 107 get_BID128_very_fast (&res, sign_x, exponent_y, CX); 133 get_BID128_very_fast (&res, sign_x, exponent_y, CX2); 139 if (sign_x && (unsigned) (rmode - 1) < 2) 246 get_BID128_very_fast (&res, sign_x, exponent_y, CR); 254 if (sign_x && (unsigned) (rmode - 1) < 2) 263 get_BID128_very_fast (&res, sign_x, exponent_y, CR);
|
H A D | bid128_rem.c | 32 UINT64 sign_x, sign_y, valid_y; 42 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 90 res.w[1] = sign_x | (((UINT64) exponent_x) << 49); 163 sign_x ^= 0x8000000000000000ull; 166 get_BID128_very_fast (&res, sign_x, exponent_x, CR); 202 get_BID128_very_fast (&res, sign_x, exponent_y, CX); 212 sign_x ^= 0x8000000000000000ull; 215 get_BID128_very_fast (&res, sign_x, exponent_y, CX);
|
H A D | bid64_fma.c | 70 UINT64 sign_x, sign_y, coefficient_x, coefficient_y, sign_z, local 89 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 268 if ((sign_x ^ sign_y) == sign_z) 303 get_add64 (sign_x ^ sign_y, 358 sign_x ^ sign_y, 1, rnd_mode, pfpsf); 372 sign_x ^ sign_y, 1, rnd_mode, pfpsf); 394 if (sign_z == (sign_y ^ sign_x)) { 409 sign_z = sign_y ^ sign_x; 446 if (remainder_y && (sign_z != (sign_y ^ sign_x))) 454 if (remainder_y && (sign_z != (sign_y ^ sign_x))) [all...] |
H A D | bid64_mul.c | 32 * return get_BID64(sign_x^sign_y, exponent_x + exponent_y - dec_bias, 61 UINT64 sign_x, sign_y, coefficient_x, coefficient_y; local 78 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 129 BID_RETURN ((sign_x ^ sign_y) | (((UINT64) exponent_x) << 53)); 160 BID_RETURN ((sign_x ^ sign_y) | (((UINT64) exponent_x) << 53)); 180 get_BID64_small_mantissa (sign_x ^ sign_y, 209 if (sign_x ^ sign_y && (unsigned) (rmode - 1) < 2) 223 res = sign_x ^ sign_y; 271 fast_get_BID64_check_OF (sign_x ^ sign_y, final_exponent, 362 fast_get_BID64_check_OF (sign_x [all...] |
H A D | bid128_string.c | 280 UINT64 sign_x, coeff_high, coeff_low, coeff2, coeff_l2, carry = 0x0ull, local 371 // set up sign_x to be OR'ed with the upper word later 373 sign_x = 0x8000000000000000ull; 375 sign_x = 0; 385 res.w[1] = 0x7c00000000000000ull | sign_x; 413 (right_radix_leading_zeros << 49)) | sign_x; 420 res.w[1] = 0x7c00000000000000ull | sign_x; 425 //res.w[1] = 0x3040000000000000ull | sign_x; 428 (right_radix_leading_zeros << 49)) | sign_x; 537 res.w[1] = 0 | sign_x; [all...] |
H A D | bid_inline_add.h | 29 * UINT64 sign_x, int exponent_x, UINT64 coefficient_x, 34 * UINT64 sign_x, int exponent_x, UINT64 coefficient_x, 75 get_add64 (UINT64 sign_x, int exponent_x, UINT64 coefficient_x, argument 93 sign_b = sign_x; 97 sign_a = sign_x; 805 get_add128 (UINT64 sign_x, int exponent_x, UINT64 coefficient_x, argument 838 if ((sign_x ^ sign_y) && (coefficient_x == 1000000000000000ull)) { 853 if (sign_x == sign_y) { 868 sign_y = sign_x; 903 D = ((SINT64) (sign_x [all...] |
H A D | bid64_div.c | 85 UINT64 sign_x, sign_y, coefficient_x, coefficient_y, A, B, QX, PD; local 109 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 166 BID_RETURN ((sign_x ^ sign_y) | (((UINT64) exponent_x) << 53)); 190 BID_RETURN ((sign_x ^ sign_y) | INFINITY_MASK64); 253 get_BID64 (sign_x ^ sign_y, diff_expon, (Q + R), rnd_mode, 422 fast_get_BID64_check_OF (sign_x ^ sign_y, diff_expon, Q, 464 if (sign_x ^ sign_y && (unsigned) (rmode - 1) < 2) 492 fast_get_BID64_check_OF (sign_x ^ sign_y, diff_expon, Q, rnd_mode, 509 get_BID64_UF (sign_x ^ sign_y, diff_expon, Q, R, rmode, pfpsf); 524 UINT64 sign_x, sign_ local 938 UINT64 sign_x, sign_y, T, carry64, D, Q_low, QX, PD, res, valid_y; variable [all...] |
H A D | bid64_add.c | 123 UINT64 sign_x, sign_y, coefficient_x, coefficient_y, C64_new; local 142 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 163 if (sign_x == (y & 0x8000000000000000ull)) { 218 if (sign_x == sign_y) 219 res |= sign_x; 222 if (rnd_mode == ROUNDING_DOWN && sign_x != sign_y) 237 sign_b = sign_x; 241 sign_a = sign_x;
|
H A D | bid128_div.c | 40 UINT64 sign_x, sign_y, T, carry64, D, Q_high, Q_low, QX, PD, 55 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 130 res.w[1] = sign_x ^ sign_y; 184 get_BID128 (&res, sign_x ^ sign_y, diff_expon, CQ, &rnd_mode, 378 get_BID128 (&res, sign_x ^ sign_y, diff_expon, CQ, &rnd_mode, pfpsf); 418 if (sign_x ^ sign_y && (unsigned) (rmode - 1) < 2) 467 handle_UF_128_rem (&res, sign_x ^ sign_y, diff_expon, CQ, 476 get_BID128 (&res, sign_x ^ sign_y, diff_expon, CQ, &rnd_mode, pfpsf); 491 UINT64 sign_x, sign_y, T, carry64, D, Q_high, Q_low, QX, PD, 507 if (!unpack_BID64 (&sign_x, [all...] |
H A D | bid128_sqrt.c | 37 UINT64 sign_x, Carry; variable 47 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 62 if (sign_x) { 74 sign_x | 79 if (sign_x) { 300 UINT64 sign_x, Carry; 312 if (!unpack_BID64 (&sign_x, &exponent_x, &CX.w[0], x)) { 328 if (sign_x) { 342 sign_x | ((((UINT64) (exponent_x + DECIMAL_EXPONENT_BIAS_128)) >> 1) 347 if (sign_x) { [all...] |
H A D | bid64_sqrt.c | 67 UINT64 sign_x, coefficient_x; local 88 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 107 res = sign_x | (((UINT64) exponent_x) << 53); 111 if (sign_x && coefficient_x) { 218 UINT64 sign_x, Carry, B10, res, mul_factor, mul_factor2 = 0x0ull, CS0; local 228 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 247 if (sign_x) { 265 //res= sign_x | (((UINT64)exponent_x)<<53); 266 res = get_BID64 (sign_x, exponent_x, 0, rnd_mode, pfpsf); 269 if (sign_x) { [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | pr32293.c | 50 UINT64 sign_x; local 54 if (!unpack_BID128 (&sign_x, &exponent_x, &CX, px)) { 57 res = get_BID32 ((UINT32) (sign_x >> 32),
|
/haiku-buildtools/gcc/mpc/src/ |
H A D | mul.c | 359 int mul_i, ok, inexact, mul_a, mul_c, inex_re = 0, inex_im = 0, sign_x, sign_u; local 448 sign_x = mpfr_cmp_abs (v, w); 449 if (sign_x > 0) 450 sign_x = 2 * mpfr_sgn (v) - mpfr_sgn (w); 451 else if (sign_x == 0) 452 sign_x = mpfr_sgn (v) - mpfr_sgn (w); 454 sign_x = mpfr_sgn (v) - 2 * mpfr_sgn (w); 458 if (sign_x * sign_u < 0) 464 sign_x = - sign_x; [all...] |