Searched refs:fma (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-current/contrib/arm-optimized-routines/math/
H A Derf.c50 double y = fma (TwoOverSqrtPiMinusOne, x, x);
60 double r1 = fma (x2, PA[1], PA[0]);
61 double r2 = fma (x2, PA[3], PA[2]);
62 double r3 = fma (x2, PA[5], PA[4]);
63 double r4 = fma (x2, PA[7], PA[6]);
64 double r5 = fma (x2, PA[9], PA[8]);
67 r = fma (x4, r, r4);
68 r = fma (x4, r, r3);
69 r = fma (x4, r, r2);
70 r = fma (x
[all...]
H A Dlog2.c54 lo = r * InvLn2lo + fma (r, InvLn2hi, -hi);
65 /* Worst-case error is less than 0.54 ULP (0.55 ULP without fma). */
105 r = fma (z, invc, -1.0);
107 t2 = r * InvLn2lo + fma (r, InvLn2hi, -t1);
128 /* Worst-case error if |y| > 0x1p-4: 0.547 ULP (0.550 ULP without fma).
129 ~ 0.5 + 2/N/ln2 + abs-poly-error*0x1p56 ULP (+ 0.003 ULP without fma). */
/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Derfc_1u8.c101 double p2 = fma (P21, r2, -P20);
102 double p3 = -r * fma (P20, r2, -0.5);
103 double p4 = fma (fma (P42, r2, -P41), r2, P40);
104 double p5 = -r * fma (fma (P52, r2, -P51), r2, P50);
107 double p6 = fma (Q5 * r, p5, p4) * R5;
108 double p7 = fma (Q6 * r, p6, p5) * R6;
109 double p8 = fma (Q7 * r, p7, p6) * R7;
110 double p9 = fma (Q
[all...]
H A Derf_2u5.c54 return fma (TwoOverSqrtPiMinusOne, x, x);
75 double p2 = fma (TwoThird, r2, -OneThird);
76 double p3 = -r * fma (OneThird, r2, -0.5);
77 double p4 = fma (fma (TwoOverFifteen, r2, -TwoOverFive), r2, Tenth);
79 = -r * fma (fma (TwoOverFortyFive, r2, -TwoOverNine), r2, Sixth);
81 double p34 = fma (p4, d, p3);
82 double p12 = fma (p2, d, p1);
83 double y = fma (p
[all...]
H A Dpoly_scalar_f64.h17 #define FMA fma
H A Dtanh_3u.c32 double j = fma (InvLn2, x, Shift) - Shift;
34 double f = fma (j, -Ln2hi, x);
35 f = fma (j, -Ln2lo, f);
40 double p = fma (f2, estrin_10_f64 (f, f2, f4, f4 * f4, __expm1_poly), f);
45 return fma (p, t, t - 1);
H A Dexpm1_2u5.c56 double j = fma (InvLn2, x, Shift) - Shift;
58 double f = fma (j, -Ln2hi, x);
59 f = fma (j, -Ln2lo, f);
68 double p = fma (f2, estrin_10_f64 (f, f2, f4, f4 * f4, __expm1_poly), f);
76 return 2 * fma (p, t, t - 0.5);
H A Dcbrt_2u.c44 double p_01 = fma (C (1), m, C (0));
45 double p_23 = fma (C (3), m, C (2));
46 double p = fma (p_23, m * m, p_01);
50 double a = fma (TwoThirds, p, m_by_3 / (p * p));
51 a = fma (TwoThirds, a, m_by_3 / (a * a));
H A Datan_common.h23 double y = fma (estrin_11_f64 (z2, x2, x4, x8, __atan_poly_data.poly + 8),
27 y = fma (y, z2 * az, az);
H A Dlog1p_2u.c97 return fma (x, eval_poly (x) * x, x);
119 double p = fma (f, eval_poly (f) * f, f);
122 double y = fma (Ln2Lo, kd, cm);
123 return y + fma (Ln2Hi, kd, p);
H A Dacos_2u.c72 double z2 = ax < 0.5 ? x * x : fma (-0.5, ax, 0.5);
82 p = fma (z * z2, p, z);
90 return (x <= -0.5) ? fma (-2.0, p, Pi) : 2.0 * p;
H A Dasin_3u.c79 double z2 = ax < 0.5 ? x * x : fma (-0.5, ax, 0.5);
89 p = fma (z * z2, p, z);
93 double y = ax < 0.5 ? p : fma (-2.0, p, PiOver2);
H A Datanh_3u.c48 double p = fma (
53 double y = fma (Ln2Lo, kd, cm);
54 return y + fma (Ln2Hi, kd, p);
H A Dsinpi_3u.c79 y = fma (-4 * r2, r, y);
H A Dcospi_3u1.c76 y = fma (-4 * r2, r, y);
H A Dasinh_2u5.c64 double y = fma (p, x2 * ax, ax);
H A Dfinite_pow.h67 double r = fma (z, invc, -1.0);
81 double lo3 = fma (ar, r, -ar2);
194 is no spurious underflow here even without fma. */
241 is no spurious underflow here even without fma. */
363 double elo = y * lo + fma (y, hi, -ehi);
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dfma.h26 inline _LIBCPP_HIDE_FROM_ABI float fma(float __x, float __y, float __z) _NOEXCEPT {
31 _LIBCPP_HIDE_FROM_ABI double fma(double __x, double __y, double __z) _NOEXCEPT {
35 inline _LIBCPP_HIDE_FROM_ABI long double fma(long double __x, long double __y, long double __z) _NOEXCEPT {
43 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2, _A3>::type fma(_A1 __x, _A2 __y, _A3 __z) _NOEXCEPT {
/freebsd-current/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp190 return {Intrinsic::fma, FTZ_Any};
192 return {Intrinsic::fma, FTZ_MustBeOff};
194 return {Intrinsic::fma, FTZ_MustBeOn};
196 return {Intrinsic::fma, FTZ_MustBeOff, true};
198 return {Intrinsic::fma, FTZ_MustBeOn, true};
200 return {Intrinsic::fma, FTZ_MustBeOff, true};
202 return {Intrinsic::fma, FTZ_MustBeOn, true};
204 return {Intrinsic::fma, FTZ_MustBeOff, true};
206 return {Intrinsic::fma, FTZ_MustBeOn, true};
208 return {Intrinsic::fma, FTZ_MustBeOf
[all...]
/freebsd-current/lib/msun/tests/
H A Dfma_test.c28 * Tests for fma{,f,l}().
61 test(fma, (double)(x), (double)(y), (double)(z), \
81 * This is needed because clang constant-folds fma in ways that are incorrect
114 test(fma, -DBL_MIN, DBL_MIN, 0.0, -0.0,
148 test(fma, DBL_MAX, DBL_MAX, -INFINITY, -INFINITY, ALL_STD_EXCEPT, 0);
152 test(fma, DBL_MAX, -DBL_MAX, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
169 test(fma, DBL_MIN, DBL_MIN, NAN, NAN, ALL_STD_EXCEPT, 0);
172 test(fma, DBL_MAX, DBL_MAX, NAN, NAN, ALL_STD_EXCEPT, 0);
186 test(fma, one, one, 0x1.0p-200, 1.0 + DBL_EPSILON,
199 test(fma,
[all...]
/freebsd-current/sys/dev/iommu/
H A Dbusdma_iommu.c694 vm_page_t *ma, fma; local
708 fma = NULL;
718 if (fma == NULL) {
719 fma = malloc(sizeof(struct vm_page) * ma_cnt,
721 if (fma == NULL) {
726 vm_page_initfake(&fma[i], pstart + ptoa(i),
728 ma[i] = &fma[i];
733 free(fma, M_DEVBUF);
745 vm_page_t *ma, fma; local
759 fma
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h71 __DEVICE__ double fma(double, double, double);
72 __DEVICE__ float fma(float, float, float);
221 using ::fma;
H A D__clang_hip_cmath.h48 __DEVICE__ __CONSTEXPR__ float fma(float __x, float __y, float __z) { function
172 __DEVICE__ __CONSTEXPR__ _Float16 fma(_Float16 __x, _Float16 __y, function
555 fma(__T1 __x, __T2 __y, __T3 __z) { function
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-current/lib/msun/src/
H A Ds_fma.c37 fma(double x, double y, double z) function
184 fma(double x, double y, double z) function
294 __weak_reference(fma, fmal);
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h192 floating_point fma (arithmetic x, arithmetic y, arithmetic z);
363 # include <__math/fma.h>
464 using std::__math::fma;

Completed in 322 milliseconds

123