/freebsd/stand/i386/libi386/ |
H A D | relocater_tramp.S | 89 movw %ax, %ss 90 movw %ax, %ds 91 movw %ax, %es 92 movw %ax, %fs 93 movw %ax, %gs 136 movw $SEL_RDATA, %ax 137 movw %ax, %ds 138 movw %ax, %es 139 movw %ax, %fs 140 movw %ax, %gs [all …]
|
/freebsd/lib/msun/ld128/ |
H A D | s_cospil.c | 50 long double ai, ar, ax, c; in cospil() local 52 ax = fabsl(x); in cospil() 54 if (ax <= 1) { in cospil() 55 if (ax < 0.25) { in cospil() 56 if (ax < 0x1p-60) { in cospil() 60 return (__kernel_cospil(ax)); in cospil() 63 if (ax < 0.5) in cospil() 64 c = __kernel_sinpil(0.5 - ax); in cospil() 65 else if (ax < 0.75) { in cospil() 66 if (ax == 0.5) in cospil() [all …]
|
H A D | s_sinpil.c | 50 long double ai, ar, ax, hi, lo, s, xhi, xlo; in sinpil() local 52 ax = fabsl(x); in sinpil() 54 if (ax < 1) { in sinpil() 55 if (ax < 0.25) { in sinpil() 56 if (ax < 0x1p-60) { in sinpil() 67 s = __kernel_sinpil(ax); in sinpil() 71 if (ax < 0.5) in sinpil() 72 s = __kernel_cospil(0.5 - ax); in sinpil() 73 else if (ax < 0.75) in sinpil() 74 s = __kernel_cospil(ax - 0.5); in sinpil() [all …]
|
H A D | s_erfl.c | 192 long double ax,R,S,P,Q,s,y,z,r; in erfl() local 204 ax = fabsl(x); in erfl() 205 if(ax < 0.84375) { in erfl() 206 if(ax < 0x1p-40L) { in erfl() 207 if(ax < 0x1p-16373L) in erfl() 219 if(ax < 1.25) { in erfl() 220 s = ax-one; in erfl() 227 if (ax >= 9) { /* inf>|x|>= 9 */ in erfl() 230 s = one/(ax*ax); in erfl() 231 if(ax < 2.85715) { /* |x| < 2.85715 */ in erfl() [all …]
|
H A D | s_tanpil.c | 73 long double ai, ar, ax, hi, lo, t; in tanpil() local 76 ax = fabsl(x); in tanpil() 78 if (ax < 1) { in tanpil() 79 if (ax < 0.5) { in tanpil() 80 if (ax < 0x1p-60) { in tanpil() 90 t = __kernel_tanpil(ax); in tanpil() 91 } else if (ax == 0.5) in tanpil() 94 t = -__kernel_tanpil(1 - ax); in tanpil() 98 if (ax < 0x1p112) { in tanpil() 100 FFLOORL128(ax, ai, ar); in tanpil() [all …]
|
/freebsd/lib/msun/src/ |
H A D | s_cospi.c | 79 double ax, c; in cospi() local 84 INSERT_WORDS(ax, ix, lx); in cospi() 89 if ((int)ax == 0) in cospi() 92 return (__kernel_cospi(ax)); in cospi() 96 c = __kernel_sinpi(0.5 - ax); in cospi() 98 if (ax == 0.5) in cospi() 100 c = -__kernel_sinpi(ax - 0.5); in cospi() 102 c = -__kernel_cospi(1 - ax); in cospi() 108 ax -= x; in cospi() 109 EXTRACT_WORDS(ix, lx, ax); in cospi() [all …]
|
H A D | s_cospif.c | 46 float ax, c; in cospif() local 51 SET_FLOAT_WORD(ax, ix); in cospif() 57 if ((int)ax == 0) in cospif() 60 return (__kernel_cospif(ax)); in cospif() 64 c = __kernel_sinpif(0.5F - ax); in cospif() 68 c = -__kernel_sinpif(ax - 0.5F); in cospif() 70 c = -__kernel_cospif(1 - ax); in cospif() 76 ax -= x; in cospif() 77 GET_FLOAT_WORD(ix, ax); in cospif() 81 c = ix == 0 ? 1 : __kernel_cospif(ax); in cospif() [all …]
|
H A D | catrigf.c | 147 float x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhf() local 153 ax = fabsf(x); in casinhf() 166 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinhf() 180 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinhf() 183 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinhf() 202 float x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosf() local 211 ax = fabsf(x); in cacosf() 224 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacosf() 238 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacosf() 241 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacosf() [all …]
|
H A D | catrig.c | 276 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinh() local 282 ax = fabs(x); in casinh() 303 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinh() 319 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinh() 322 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinh() 357 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacos() local 366 ax = fabs(x); in cacos() 387 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacos() 404 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacos() 407 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacos() [all …]
|
H A D | catrigl.c | 166 long double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhl() local 172 ax = fabsl(x); in casinhl() 185 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinhl() 199 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinhl() 202 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinhl() 222 long double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosl() local 231 ax = fabsl(x); in cacosl() 244 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacosl() 258 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacosl() 261 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacosl() [all …]
|
H A D | s_sinpi.c | 82 double ax, hi, lo, s; in sinpi() local 87 INSERT_WORDS(ax, ix, lx); in sinpi() 107 s = __kernel_sinpi(ax); in sinpi() 112 s = __kernel_cospi(0.5 - ax); in sinpi() 114 s = __kernel_cospi(ax - 0.5); in sinpi() 116 s = __kernel_sinpi(1 - ax); in sinpi() 122 ax -= x; in sinpi() 123 EXTRACT_WORDS(ix, lx, ax); in sinpi() 130 s = __kernel_sinpi(ax); in sinpi() 132 s = __kernel_cospi(0.5 - ax); in sinpi() [all …]
|
H A D | s_sinpif.c | 51 float ax, hi, lo, s; in sinpif() local 56 SET_FLOAT_WORD(ax, ix); in sinpif() 71 s = __kernel_sinpif(ax); in sinpif() 76 s = __kernel_cospif(0.5F - ax); in sinpif() 78 s = __kernel_cospif(ax - 0.5F); in sinpif() 80 s = __kernel_sinpif(1 - ax); in sinpif() 86 ax -= x; in sinpif() 87 GET_FLOAT_WORD(ix, ax); in sinpif() 94 s = __kernel_sinpif(ax); in sinpif() 96 s = __kernel_cospif(0.5F - ax); in sinpif() [all …]
|
H A D | s_clog.c | 45 double_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t; in clog() local 54 ax = fabs(x); in clog() 56 if (ax < ay) { in clog() 57 t = ax; in clog() 58 ax = ay; in clog() 62 GET_HIGH_WORD(hax, ax); in clog() 72 if (ax == 1) { in clog() 80 return (CMPLX(log(ax), v)); in clog() 99 t = (double)(ax * (0x1p27 + 1)); in clog() 100 axh = (double)(ax - t) + t; in clog() [all …]
|
H A D | s_clogl.c | 59 long double ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl; in clogl() local 71 ax = fabsl(x); in clogl() 73 if (ax < ay) { in clogl() 74 t = ax; in clogl() 75 ax = ay; in clogl() 79 GET_LDBL_EXPSIGN(hax, ax); in clogl() 89 if (ax == 1) { in clogl() 97 RETURNI(CMPLXL(logl(ax), v)); in clogl() 116 t = (long double)(ax * (MULT_REDUX + 1)); in clogl() 117 axh = (long double)(ax - t) + t; in clogl() [all …]
|
H A D | s_clogf.c | 45 float_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t; in clogf() local 54 ax = fabsf(x); in clogf() 56 if (ax < ay) { in clogf() 57 t = ax; in clogf() 58 ax = ay; in clogf() 62 GET_FLOAT_WORD(hax, ax); in clogf() 80 return (CMPLXF(logf(ax), v)); in clogf() 99 t = (float)(ax * (0x1p12F + 1)); in clogf() 100 axh = (float)(ax - t) + t; in clogf() 101 axl = ax - axh; in clogf() [all …]
|
H A D | s_tanpi.c | 113 double ax, hi, lo, odd, t; in tanpi() local 118 INSERT_WORDS(ax, ix, lx); in tanpi() 137 t = __kernel_tanpi(ax); in tanpi() 138 } else if (ax == 0.5) in tanpi() 141 t = - __kernel_tanpi(1 - ax); in tanpi() 148 ax -= x; in tanpi() 149 EXTRACT_WORDS(ix, lx, ax); in tanpi() 152 t = ix == 0 ? copysign(0, odd) : __kernel_tanpi(ax); in tanpi() 153 else if (ax == 0.5) in tanpi() 156 t = - __kernel_tanpi(1 - ax); in tanpi()
|
/freebsd/lib/msun/ld80/ |
H A D | s_cospil.c | 52 long double ax, c; in cospil() local 59 INSERT_LDBL80_WORDS(ax, ix, lx); in cospil() 69 RETURNI(__kernel_cospil(ax)); in cospil() 73 c = __kernel_sinpil(0.5 - ax); in cospil() 75 if (ax == 0.5) in cospil() 77 c = -__kernel_sinpil(ax - 0.5); in cospil() 79 c = -__kernel_cospil(1 - ax); in cospil() 85 ax -= x; in cospil() 86 EXTRACT_LDBL80_WORDS(ix, lx, ax); in cospil() 90 c = ix == 0 ? 1 : __kernel_cospil(ax); in cospil() [all …]
|
H A D | s_sinpil.c | 54 long double ax, hi, lo, s; in sinpil() local 61 INSERT_LDBL80_WORDS(ax, ix, lx); in sinpil() 78 s = __kernel_sinpil(ax); in sinpil() 83 s = __kernel_cospil(0.5 - ax); in sinpil() 85 s = __kernel_cospil(ax - 0.5); in sinpil() 87 s = __kernel_sinpil(1 - ax); in sinpil() 93 ax -= x; in sinpil() 94 EXTRACT_LDBL80_WORDS(ix, lx, ax); in sinpil() 101 s = __kernel_sinpil(ax); in sinpil() 103 s = __kernel_cospil(0.5 - ax); in sinpil() [all …]
|
H A D | s_erfl.c | 218 long double ax,R,S,P,Q,s,y,z,r; in erfl() local 232 ax = fabsl(x); in erfl() 233 if(ax < 0.84375) { in erfl() 234 if(ax < 0x1p-34L) { in erfl() 235 if(ax < 0x1p-16373L) in erfl() 245 if(ax < 1.25) { in erfl() 246 s = ax-one; in erfl() 251 if(ax >= 7) { /* inf>|x|>= 7 */ in erfl() 254 s = one/(ax*ax); in erfl() 255 if(ax < 2.85715) { /* |x| < 2.85715 */ in erfl() [all …]
|
H A D | s_tanpil.c | 75 long double ax, hi, lo, odd, t; in tanpil() local 82 INSERT_LDBL80_WORDS(ax, ix, lx); in tanpil() 99 t = __kernel_tanpil(ax); in tanpil() 100 } else if (ax == 0.5) in tanpil() 103 t = -__kernel_tanpil(1 - ax); in tanpil() 110 ax -= x; in tanpil() 111 EXTRACT_LDBL80_WORDS(ix, lx, ax); in tanpil() 114 t = ix == 0 ? copysignl(0, odd) : __kernel_tanpil(ax); in tanpil() 115 else if (ax == 0.5L) in tanpil() 118 t = -__kernel_tanpil(1 - ax); in tanpil()
|
/freebsd/contrib/arm-optimized-routines/math/test/ |
H A D | trigpi_references.h | 21 long double ax = fabsl (x); in arm_math_sinpil() local 25 if (ax >= 0x1p64) in arm_math_sinpil() 31 if (ax == (uint64_t) ax) in arm_math_sinpil() 44 long double ax = fabsl (x); in arm_math_cospil() local 46 if (ax >= 0x1p64) in arm_math_cospil() 49 uint64_t m = (uint64_t) ax; in arm_math_cospil() 53 if (m == ax) in arm_math_cospil() 57 if (ax - 0.5 == m || ax + 0.5 == m) in arm_math_cospil() 60 return cosl (ax * M_PIl); in arm_math_cospil()
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/ |
H A D | asinhf_3u5.c | 43 float ax = asfloat (ia); in asinhf() local 54 float x2 = ax * ax; in asinhf() 55 float p = estrin_7_f32 (ax, x2, x2 * x2, __asinhf_data.coeffs); in asinhf() 56 float y = fmaf (x2, p, ax); in asinhf() 60 if (unlikely (ax > SqrtFltMax)) in asinhf() 62 return asfloat (asuint (logf (ax) + Ln2) | sign); in asinhf() 65 return asfloat (asuint (logf (ax + sqrtf (ax * ax + 1))) | sign); in asinhf()
|
/freebsd/lib/libc/i386/string/ |
H A D | swab.S | 59 rorw $8,%ax 69 rorw $8,%ax 72 rorw $8,%ax 75 rorw $8,%ax 78 rorw $8,%ax 81 rorw $8,%ax 84 rorw $8,%ax 87 rorw $8,%ax 90 rorw $8,%ax
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/ |
H A D | cospi_3u5.c | 37 double ax = asdouble (asuint64 (x) & ~0x8000000000000000); in arm_math_cospi() local 41 if (ax >= 0x1p53) in arm_math_cospi() 45 uint64_t m = (uint64_t) ax; in arm_math_cospi() 46 if (m == ax) in arm_math_cospi() 52 if (ax < 0x1p-63) in arm_math_cospi() 57 if (ax >= 0x1p51) in arm_math_cospi() 61 double n = ax + Shift; in arm_math_cospi() 68 double r = 0.5 - fabs (ax - n); in arm_math_cospi()
|
H A D | cospif_2u6.c | 33 float ax = asfloat (asuint (x) & ~0x80000000); in arm_math_cospif() local 37 if (ax >= 0x1p24f) in arm_math_cospif() 40 uint32_t m = roundf (ax); in arm_math_cospif() 41 if (m == ax) in arm_math_cospif() 46 if (ax >= 0x1p22f) in arm_math_cospif() 52 if (ax < 0x1p-31f) in arm_math_cospif() 56 float n = ax + Shift; in arm_math_cospif() 63 float r = 0.5f - fabs (ax - n); in arm_math_cospif()
|