/freebsd/contrib/arm-optimized-routines/math/ |
H A D | erf.c | 67 r = fma (x4, r, r4); in erf() 68 r = fma (x4, r, r3); in erf() 69 r = fma (x4, r, r2); in erf() 70 r = fma (x4, r, r1); in erf() 128 r = fma (a2, r, r7); in erf() 129 r = fma (a2, r, r6); in erf() 130 r = fma (a2, r, r5); in erf() 131 r = fma (a2, r, r4); in erf() 132 r = fma (a2, r, r3); in erf() 133 r = fma (a2, r, r2); in erf() [all …]
|
H A D | log2.c | 54 lo = r * InvLn2lo + fma (r, InvLn2hi, -hi); in log2() 105 r = fma (z, invc, -1.0); in log2() 107 t2 = r * InvLn2lo + fma (r, InvLn2hi, -t1); in log2()
|
H A D | pow.c | 62 r = fma (z, invc, -1.0); in log_inline() 86 lo3 = fma (ar, r, -ar2); in log_inline() 363 elo = y * lo + fma (y, hi, -ehi); in pow()
|
/freebsd/contrib/arm-optimized-routines/pl/math/ |
H A D | erfc_1u8.c | 103 double p4 = fma (fma (P42, r2, -P41), r2, P40); in erfc() 104 double p5 = -r * fma (fma (P52, r2, -P51), r2, P50); in erfc() 114 double p78 = fma (p8, d, p7); in erfc() 115 double p56 = fma (p6, d, p5); in erfc() 116 double p34 = fma (p4, d, p3); in erfc() 117 double p12 = fma (p2, d, p1); in erfc() 119 y = fma (y, d2, p56); in erfc() 120 y = fma (y, d2, p34); in erfc() 121 y = fma (y, d2, p12); in erfc() 123 y = fma (-fma (y, d2, d), scale, erfcr); in erfc() [all …]
|
H A D | erf_2u5.c | 54 return fma (TwoOverSqrtPiMinusOne, x, x); in erf() 75 double p2 = fma (TwoThird, r2, -OneThird); in erf() 76 double p3 = -r * fma (OneThird, r2, -0.5); in erf() 77 double p4 = fma (fma (TwoOverFifteen, r2, -TwoOverFive), r2, Tenth); in erf() 79 = -r * fma (fma (TwoOverFortyFive, r2, -TwoOverNine), r2, Sixth); in erf() 81 double p34 = fma (p4, d, p3); in erf() 82 double p12 = fma (p2, d, p1); in erf() 83 double y = fma (p5, d2, p34); in erf() 84 y = fma (y, d2, p12); in erf() 86 y = fma (fma (y, d2, d), scale, erfr); in erf()
|
H A D | cbrt_2u.c | 44 double p_01 = fma (C (1), m, C (0)); in cbrt() 45 double p_23 = fma (C (3), m, C (2)); in cbrt() 46 double p = fma (p_23, m * m, p_01); in cbrt() 50 double a = fma (TwoThirds, p, m_by_3 / (p * p)); in cbrt() 51 a = fma (TwoThirds, a, m_by_3 / (a * a)); in cbrt()
|
H A D | expm1_2u5.c | 56 double j = fma (InvLn2, x, Shift) - Shift; in expm1() 58 double f = fma (j, -Ln2hi, x); in expm1() 59 f = fma (j, -Ln2lo, f); in expm1() 68 double p = fma (f2, estrin_10_f64 (f, f2, f4, f4 * f4, __expm1_poly), f); in expm1() 76 return 2 * fma (p, t, t - 0.5); in expm1()
|
H A D | tanh_3u.c | 32 double j = fma (InvLn2, x, Shift) - Shift; in expm1_inline() 34 double f = fma (j, -Ln2hi, x); in expm1_inline() 35 f = fma (j, -Ln2lo, f); in expm1_inline() 40 double p = fma (f2, estrin_10_f64 (f, f2, f4, f4 * f4, __expm1_poly), f); in expm1_inline() 45 return fma (p, t, t - 1); in expm1_inline()
|
H A D | log1p_2u.c | 97 return fma (x, eval_poly (x) * x, x); in log1p() 119 double p = fma (f, eval_poly (f) * f, f); in log1p() 122 double y = fma (Ln2Lo, kd, cm); in log1p() 123 return y + fma (Ln2Hi, kd, p); in log1p()
|
H A D | asin_3u.c | 79 double z2 = ax < 0.5 ? x * x : fma (-0.5, ax, 0.5); in asin() 89 p = fma (z * z2, p, z); in asin() 93 double y = ax < 0.5 ? p : fma (-2.0, p, PiOver2); in asin()
|
H A D | acos_2u.c | 72 double z2 = ax < 0.5 ? x * x : fma (-0.5, ax, 0.5); in acos() 82 p = fma (z * z2, p, z); in acos() 90 return (x <= -0.5) ? fma (-2.0, p, Pi) : 2.0 * p; in acos()
|
H A D | atanh_3u.c | 48 double p = fma ( in log1p_inline() 53 double y = fma (Ln2Lo, kd, cm); in log1p_inline() 54 return y + fma (Ln2Hi, kd, p); in log1p_inline()
|
H A D | atan_common.h | 23 double y = fma (estrin_11_f64 (z2, x2, x4, x8, __atan_poly_data.poly + 8), in eval_poly() 27 y = fma (y, z2 * az, az); in eval_poly()
|
H A D | finite_pow.h | 67 double r = fma (z, invc, -1.0); in log_inline() 81 double lo3 = fma (ar, r, -ar2); in log_inline() 363 double elo = y * lo + fma (y, hi, -ehi); in __pl_finite_pow()
|
H A D | poly_scalar_f64.h | 17 #define FMA fma
|
H A D | cospi_3u1.c | 76 y = fma (-4 * r2, r, y); in cospi()
|
H A D | sinpi_3u.c | 79 y = fma (-4 * r2, r, y); in sinpi()
|
/freebsd/lib/msun/tests/ |
H A D | fma_test.c | 61 test(fma, (double)(x), (double)(y), (double)(z), \ 114 test(fma, -DBL_MIN, DBL_MIN, 0.0, -0.0, in test_zeroes() 169 test(fma, DBL_MIN, DBL_MIN, NAN, NAN, ALL_STD_EXCEPT, 0); in test_nans() 172 test(fma, DBL_MAX, DBL_MAX, NAN, NAN, ALL_STD_EXCEPT, 0); in test_nans() 186 test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON, in test_small_z() 199 test(fma, -one, one, -0x1.0p-200, -(1.0 + DBL_EPSILON), in test_small_z() 212 test(fma, one, one, -0x1.0p-200, 1.0 - DBL_EPSILON / 2, in test_small_z() 271 test(fma, -0x1.0p-100, -0x1.0p-100, -1.0, in test_big_z() 432 test(fma, 0x1.8000000000001p0, 0x1.8000000000001p0, in test_double_rounding() 436 test(fma, 0x1.8000000000001p0, 0x1.8000000000001p0, in test_double_rounding() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.cpp | 190 return {Intrinsic::fma, FTZ_Any}; in simplifyNvvmIntrinsic() 192 return {Intrinsic::fma, FTZ_MustBeOff}; in simplifyNvvmIntrinsic() 194 return {Intrinsic::fma, FTZ_MustBeOn}; in simplifyNvvmIntrinsic() 196 return {Intrinsic::fma, FTZ_MustBeOff, true}; in simplifyNvvmIntrinsic() 198 return {Intrinsic::fma, FTZ_MustBeOn, true}; in simplifyNvvmIntrinsic() 200 return {Intrinsic::fma, FTZ_MustBeOff, true}; in simplifyNvvmIntrinsic() 202 return {Intrinsic::fma, FTZ_MustBeOn, true}; in simplifyNvvmIntrinsic() 204 return {Intrinsic::fma, FTZ_MustBeOff, true}; in simplifyNvvmIntrinsic() 206 return {Intrinsic::fma, FTZ_MustBeOn, true}; in simplifyNvvmIntrinsic() 208 return {Intrinsic::fma, FTZ_MustBeOff, true}; in simplifyNvvmIntrinsic() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__math/ |
H A D | fma.h | 26 inline _LIBCPP_HIDE_FROM_ABI float fma(float __x, float __y, float __z) _NOEXCEPT { in fma() function 31 _LIBCPP_HIDE_FROM_ABI double fma(double __x, double __y, double __z) _NOEXCEPT { in fma() function 35 inline _LIBCPP_HIDE_FROM_ABI long double fma(long double __x, long double __y, long double __z) _NO… in fma() function 43 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2, _A3>::type fma(_A1 __x, _A2 __y, _A3 __z)… in fma() function
|
/freebsd/sys/dev/iommu/ |
H A D | busdma_iommu.c | 694 vm_page_t *ma, fma; in iommu_bus_dmamap_load_phys() local 708 fma = NULL; in iommu_bus_dmamap_load_phys() 718 if (fma == NULL) { in iommu_bus_dmamap_load_phys() 721 if (fma == NULL) { in iommu_bus_dmamap_load_phys() 728 ma[i] = &fma[i]; in iommu_bus_dmamap_load_phys() 733 free(fma, M_DEVBUF); in iommu_bus_dmamap_load_phys() 745 vm_page_t *ma, fma; in iommu_bus_dmamap_load_buffer() local 759 fma = NULL; in iommu_bus_dmamap_load_buffer() 772 if (fma == NULL) { in iommu_bus_dmamap_load_buffer() 781 ma[i] = &fma[i]; in iommu_bus_dmamap_load_buffer() [all …]
|
/freebsd/lib/msun/src/ |
H A D | s_fma.c | 37 fma(double x, double y, double z) in fma() function 184 fma(double x, double y, double z) in fma() function 296 __weak_reference(fma, fmal);
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 71 __DEVICE__ double fma(double, double, double); 72 __DEVICE__ float fma(float, float, float); 221 using ::fma;
|
H A D | __clang_hip_cmath.h | 48 __DEVICE__ __CONSTEXPR__ float fma(float __x, float __y, float __z) { in fma() function 172 __DEVICE__ __CONSTEXPR__ _Float16 fma(_Float16 __x, _Float16 __y, in fma() function 555 fma(__T1 __x, __T2 __y, __T3 __z) { 557 return ::fma((__result_type)__x, (__result_type)__y, (__result_type)__z); 566 fma(__T1 __x, __T2 __y, __T3 __z) { 567 return ::fma((double)__x, (double)__y, (double)__z); 671 using ::fma;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/ |
H A D | Combine.td | 1092 // Transform (fadd x, (fmul y, z)) -> (fma y, z, x) 1094 // Transform (fadd (fmul x, y), z) -> (fma x, y, z) 1114 // Transform (fadd (fma x, y, (fmul z, u)), v) -> (fma x, y, (fma z, u, v)) 1116 // Transform (fadd v, (fma x, y, (fmul z, u))) -> (fma x, y, (fma z, u, v)) 1125 // Transform (fadd (fma x, y, (fpext (fmul u, v))), z) -> 1126 // (fma x, y, (fma (fpext u), (fpext v), z)) 1134 // Transform (fsub (fmul x, y), z) -> (fma x, y, -z) 1143 // Transform (fsub (fneg (fmul, x, y)), z) -> (fma (fneg x), y, (fneg z)) 1144 // (fsub x, (fneg (fmul, y, z))) -> (fma y, z, x) 1153 // (fma (fpext x), (fpext y), (fneg z)) [all …]
|