| /freebsd/contrib/arm-optimized-routines/math/ |
| H A D | erff.c | 50 float y = fmaf (TwoOverSqrtPiMinusOne, x, x); in erff() 60 r = fmaf (r, x2, A[4]); in erff() 61 r = fmaf (r, x2, A[3]); in erff() 62 r = fmaf (r, x2, A[2]); in erff() 63 r = fmaf (r, x2, A[1]); in erff() 64 r = fmaf (r, x2, A[0]); in erff() 65 r = fmaf (r, x, x); in erff() 72 r = fmaf (B[6], a, B[5]); in erff() 73 u = fmaf (B[4], a, B[3]); in erff() 75 r = fmaf (r, x2, u); in erff() [all …]
|
| H A D | poly_scalar_f32.h | 17 #define FMA fmaf
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/ |
| H A D | atanhf_3u1.c | 27 float p_12 = fmaf (m, C (1), C (0)); in eval_poly() 28 float p_34 = fmaf (m, C (3), C (2)); in eval_poly() 29 float p_56 = fmaf (m, C (5), C (4)); in eval_poly() 30 float p_78 = fmaf (m, C (7), C (6)); in eval_poly() 33 float p_02 = fmaf (m2, p_12, m); in eval_poly() 34 float p_36 = fmaf (m2, p_56, p_34); in eval_poly() 35 float p_79 = fmaf (m2, C (8), p_78); in eval_poly() 38 float p_06 = fmaf (m4, p_36, p_02); in eval_poly() 40 return fmaf (m4 * p_79, m4, p_06); in eval_poly() 51 float m_scale = asfloat (asuint (x) - k) + fmaf (0.25f, s, -1.0f); in log1pf_inline() [all …]
|
| H A D | log1pf_2u1.c | 30 float p_12 = fmaf (m, C (1), C (0)); in eval_poly() 31 float p_34 = fmaf (m, C (3), C (2)); in eval_poly() 32 float p_56 = fmaf (m, C (5), C (4)); in eval_poly() 33 float p_78 = fmaf (m, C (7), C (6)); in eval_poly() 36 float p_02 = fmaf (m2, p_12, m); in eval_poly() 37 float p_36 = fmaf (m2, p_56, p_34); in eval_poly() 38 float p_79 = fmaf (m2, C (8), p_78); in eval_poly() 41 float p_06 = fmaf (m4, p_36, p_02); in eval_poly() 47 return fmaf (m8, p_79, p_06); in eval_poly() 56 return fmaf (m, m * horner_8_f32 (m, __log1pf_data.coeffs), m); in eval_poly() [all …]
|
| H A D | erfcf_1u7.c | 70 float p2 = fmaf (TwoThird, r2, -OneThird); in erfcf() 71 float p3 = -r * fmaf (OneThird, r2, -0.5f); in erfcf() 72 float p4 = fmaf (fmaf (TwoOverFifteen, r2, -TwoOverFive), r2, Tenth); in erfcf() 73 float y = fmaf (p4, d, p3); in erfcf() 74 y = fmaf (y, d, p2); in erfcf() 75 y = fmaf (y, d, p1); in erfcf() 76 y = fmaf (-fmaf (y, d2, d), scale, erfcr); in erfcf() 80 y = fmaf (y, fac, off); in erfcf()
|
| H A D | tanhf_2u6.c | 37 float j = fmaf (InvLn2, x, Shift) - Shift; in expm1f_inline() 39 float f = fmaf (j, -Ln2hi, x); in expm1f_inline() 40 f = fmaf (j, -Ln2lo, f); in expm1f_inline() 45 float p_01 = fmaf (f, C (1), C (0)); in expm1f_inline() 46 float p_23 = fmaf (f, C (3), C (2)); in expm1f_inline() 47 float p = fmaf (f2, p_23, p_01); in expm1f_inline() 48 p = fmaf (f2 * f2, C (4), p); in expm1f_inline() 49 p = fmaf (f2, p, f); in expm1f_inline() 54 return fmaf (p, t, t - 1); in expm1f_inline()
|
| H A D | expm1f_1u6.c | 53 float j = fmaf (InvLn2, x, Shift) - Shift; in expm1f() 55 float f = fmaf (j, -Ln2hi, x); in expm1f() 56 f = fmaf (j, -Ln2lo, f); in expm1f() 63 float p = fmaf (f * f, horner_4_f32 (f, __expm1f_poly), f); in expm1f() 70 return 2 * fmaf (p, t, t - 0.5f); in expm1f()
|
| H A D | tanf_3u3.c | 44 float q = fmaf (InvPio2, r, Shift); in reduce() 49 r = fmaf (NegPio2_1, n, r); in reduce() 50 r = fmaf (NegPio2_2, n, r); in reduce() 51 r = fmaf (NegPio2_3, n, r); in reduce() 122 return fmaf (x2, x * y, x); in tanf() 174 return fmaf (scale, p, offset); in tanf()
|
| H A D | erff_2u.c | 49 return fmaf (TwoOverSqrtPiMinusOne, x, x); in arm_math_erff() 65 float y = -fmaf (OneThird, d, r); in arm_math_erff() 66 y = fmaf (fmaf (y, d2, d), scale, erfr); in arm_math_erff()
|
| H A D | asinf_2u5.c | 77 float z2 = ax < 0.5 ? x * x : fmaf (-0.5f, ax, 0.5f); in asinf() 83 p = fmaf (z * z2, p, z); in asinf() 87 float y = ax < 0.5 ? p : fmaf (-2.0f, p, PiOver2f); in asinf()
|
| H A D | acosf_1u4.c | 75 float z2 = ax < 0.5 ? x * x : fmaf (-0.5f, ax, 0.5f); in acosf() 81 p = fmaf (z * z2, p, z); in acosf() 89 return (x <= -0.5) ? fmaf (-2.0f, p, Pif) : 2.0f * p; in acosf()
|
| H A D | atanf_common.h | 30 float y = fmaf ( in eval_poly() 35 return fmaf (y, z2 * az, az) + shift; in eval_poly()
|
| H A D | cbrtf_1u5.c | 47 float a = fmaf (TwoThirds, p, m_by_3 / (p * p)); in cbrtf()
|
| H A D | asinhf_3u5.c | 56 float y = fmaf (x2, p, ax); in asinhf()
|
| /freebsd/lib/msun/tests/ |
| H A D | fma_test.c | 63 test(fmaf, (float)(x), (float)(y), (float)(z), \ 112 test(fmaf, -FLT_MIN, FLT_MIN, 0.0, -0.0, in test_zeroes() 150 test(fmaf, FLT_MAX, FLT_MAX, -INFINITY, -INFINITY, ALL_STD_EXCEPT, 0); in test_infinities() 154 test(fmaf, FLT_MAX, -FLT_MAX, INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in test_infinities() 171 test(fmaf, FLT_MIN, FLT_MIN, NAN, NAN, ALL_STD_EXCEPT, 0); in test_nans() 174 test(fmaf, FLT_MAX, FLT_MAX, NAN, NAN, ALL_STD_EXCEPT, 0); in test_nans() 187 test(fmaf, one, one, 0x1.0p-100, 1.0 + FLT_EPSILON, in test_small_z() 200 test(fmaf, -one, one, -0x1.0p-100, -(1.0 + FLT_EPSILON), in test_small_z() 213 test(fmaf, one, one, -0x1.0p-100, 1.0 - FLT_EPSILON / 2, in test_small_z() 226 test(fmaf, -one, one, 0x1.0p-100, -1.0 + FLT_EPSILON / 2, in test_small_z() [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/ |
| H A D | cospif_2u6.c | 67 float y = fmaf (C5, r2, C4); in arm_math_cospif() 68 y = fmaf (y, r2, C3); in arm_math_cospif() 69 y = fmaf (y, r2, C2); in arm_math_cospif() 70 y = fmaf (y, r2, C1); in arm_math_cospif() 71 y = fmaf (y, r2, C0); in arm_math_cospif()
|
| H A D | sinpif_2u5.c | 68 float y = fmaf (C5, r2, C4); in arm_math_sinpif() 69 y = fmaf (y, r2, C3); in arm_math_sinpif() 70 y = fmaf (y, r2, C2); in arm_math_sinpif() 71 y = fmaf (y, r2, C1); in arm_math_sinpif() 72 y = fmaf (y, r2, C0); in arm_math_sinpif()
|
| H A D | tanpif_3u1.c | 128 return fmaf (scale, result, offset); in arm_math_tanpif()
|
| /freebsd/lib/msun/src/ |
| H A D | s_fmaf.c | 36 fmaf(float x, float y, float z) in fmaf() function 49 fmaf(float x, float y, float z) in fmaf() function
|
| H A D | math.h | 407 float fmaf(float, float, float);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUFeatures.td | 15 def FeatureFMA : SubtargetFeature<"fmaf",
|
| /freebsd/contrib/llvm-project/libc/src/__support/FPUtil/generic/ |
| H A D | README.md | 6 different flavors, `fma` which operates double precision numbers, `fmaf` which
|
| /freebsd/lib/msun/ |
| H A D | Symbol.map | 102 fmaf;
|
| /freebsd/contrib/llvm-project/libcxx/modules/std.compat/ |
| H A D | cmath.inc | 244 using ::fmaf _LIBCPP_USING_IF_EXISTS;
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | __clang_hip_cmath.h | 49 return ::fmaf(__x, __y, __z); in fma() 756 using ::fmaf;
|