/third_party/optimized-routines/math/ |
H A D | erf.c | 50 double y = fma (TwoOverSqrtPiMinusOne, x, x); in erf() 60 double r1 = fma (x2, PA[1], PA[0]); in erf() 61 double r2 = fma (x2, PA[3], PA[2]); in erf() 62 double r3 = fma (x2, PA[5], PA[4]); in erf() 63 double r4 = fma (x2, PA[7], PA[6]); in erf() 64 double r5 = fma (x2, PA[9], PA[8]); in erf() 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 (x in erf() [all...] |
H A D | log2.c | 54 lo = r * InvLn2lo + fma (r, InvLn2hi, -hi); in log2() 65 /* Worst-case error is less than 0.54 ULP (0.55 ULP without fma). */ in log2() 105 r = fma (z, invc, -1.0); in log2() 107 t2 = r * InvLn2lo + fma (r, InvLn2hi, -t1); in log2() 128 /* Worst-case error if |y| > 0x1p-4: 0.547 ULP (0.550 ULP without fma). in log2() 129 ~ 0.5 + 2/N/ln2 + abs-poly-error*0x1p56 ULP (+ 0.003 ULP without fma). */ in log2()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | distribution_test_util.cc | 34 inline double fma(double x, double y, double z) { return (x * y) + z; } in fma() function 112 using std::fma; in erfinv() 121 p = fma(p, w, -1.685059138182016589e-19); in erfinv() 122 p = fma(p, w, 1.2858480715256400167e-18); in erfinv() 123 p = fma(p, w, 1.115787767802518096e-17); in erfinv() 124 p = fma(p, w, -1.333171662854620906e-16); in erfinv() 125 p = fma(p, w, 2.0972767875968561637e-17); in erfinv() 126 p = fma(p, w, 6.6376381343583238325e-15); in erfinv() 127 p = fma(p, w, -4.0545662729752068639e-14); in erfinv() 128 p = fma( in erfinv() [all...] |
H A D | chi_square.cc | 28 inline double fma(double x, double y, double z) { in fma() function 37 using std::fma; in EvaluatePolynomial() 41 p = fma(p, x, poly[N - i]); in EvaluatePolynomial()
|
/third_party/mesa3d/src/panfrost/bifrost/test/ |
H A D | test-scheduler-predicates.cpp | 59 bi_instr *fma = bi_fma_f32_to(b, TMP(), TMP(), TMP(), bi_zero()); in TEST_F() local 60 ASSERT_TRUE(bi_can_fma(fma)); in TEST_F() 61 ASSERT_FALSE(bi_can_add(fma)); in TEST_F() 62 ASSERT_FALSE(bi_must_message(fma)); in TEST_F() 63 ASSERT_TRUE(bi_reads_zero(fma)); in TEST_F() 65 ASSERT_TRUE(bi_reads_temps(fma, i)); in TEST_F() 66 ASSERT_TRUE(bi_reads_t(fma, i)); in TEST_F()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | serialize_tests.cpp | 168 nir_ssa_def *fma = nir_ffma(b, undef, undef, undef); in TEST_P() local 169 nir_alu_instr *fma_alu = nir_instr_as_alu(fma->parent_instr); in TEST_P() 171 fma->num_components = GetParam(); in TEST_P() 190 nir_ssa_def *fma = nir_ffma(b, undef, undef, undef); in TEST_P() local 191 nir_alu_instr *fma_alu = nir_instr_as_alu(fma->parent_instr); in TEST_P() 219 nir_ssa_def *fma = nir_ffma(b, undef, undef, undef); in TEST_P() local 220 nir_alu_instr *fma_alu = nir_instr_as_alu(fma->parent_instr); in TEST_P() 247 nir_ssa_def *fma = nir_ffma(b, undef, undef, undef); in TEST_P() local 248 nir_alu_instr *fma_alu = nir_instr_as_alu(fma->parent_instr); in TEST_P()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_schedule.c | 390 bi_instr *fma = bi_seg_add_to(&b, pinstr->dest[0], pinstr->src[0], in bi_lower_seg_add() local 400 return fma; in bi_lower_seg_add() 535 return bi_opcode_props[ins->op].fma; in bi_can_fma() 788 bi_instr *instr, bool fma, bool destructive) in bi_update_fau() 823 if (src.value == 0 && fma && bi_reads_zero(instr)) in bi_update_fau() 939 bi_has_staging_passthrough_hazard(bi_index fma, bi_instr *add) in bi_has_staging_passthrough_hazard() argument 951 read |= bi_is_equiv(fma, bi_register(src.value + d)); in bi_has_staging_passthrough_hazard() 1039 bool fma) in bi_instr_schedulable() 1042 if ((fma && !bi_can_fma(instr)) || (!fma in bi_instr_schedulable() 786 bi_update_fau(struct bi_clause_state *clause, struct bi_tuple_state *tuple, bi_instr *instr, bool fma, bool destructive) bi_update_fau() argument 1035 bi_instr_schedulable(bi_instr *instr, struct bi_clause_state *clause, struct bi_tuple_state *tuple, uint64_t live_after_temp, bool fma) bi_instr_schedulable() argument 1175 bi_choose_index(struct bi_worklist st, struct bi_clause_state *clause, struct bi_tuple_state *tuple, uint64_t live_after_temp, bool fma) bi_choose_index() argument 1207 bi_pop_instr(struct bi_clause_state *clause, struct bi_tuple_state *tuple, bi_instr *instr, uint64_t live_after_temp, bool fma) bi_pop_instr() argument 1237 bi_take_instr(bi_context *ctx, struct bi_worklist st, struct bi_clause_state *clause, struct bi_tuple_state *tuple, uint64_t live_after_temp, bool fma) bi_take_instr() argument 1364 bi_rewrite_zero(bi_instr *ins, bool fma) bi_rewrite_zero() argument [all...] |
H A D | bi_pack.c | 119 if (now->fma) in bi_assign_slots() 120 bi_foreach_src(now->fma, src) in bi_assign_slots() 121 bi_assign_slot_read(&now->regs, (now->fma)->src[src]); in bi_assign_slots() 149 if (prev->fma) { in bi_assign_slots() 150 bi_index idx = (prev->fma)->dest[0]; in bi_assign_slots() 333 uint64_t fma = bi_pack_fma(tuple->fma, in bi_pack_tuple() local 334 bi_get_src_new(tuple->fma, &tuple->regs, 0), in bi_pack_tuple() 335 bi_get_src_new(tuple->fma, &tuple->regs, 1), in bi_pack_tuple() 336 bi_get_src_new(tuple->fma, in bi_pack_tuple() [all...] |
/third_party/mesa3d/src/nouveau/codegen/lib/ |
H A D | gk110.asm | 160 fma rn f32 $r5 $r4 $r5 $r0 161 fma rn f32 $r0 neg $r4 $r5 $r4 174 fma rn f64 $r4d $r6d $r0d $r8d 175 fma rn f64 $r0d $r0d $r4d $r0d 176 fma rn f64 $r4d $r6d $r0d $r8d 177 fma rn f64 $r0d $r0d $r4d $r0d 178 fma rn f64 $r4d $r6d $r0d $r8d 179 fma rn f64 $r0d $r0d $r4d $r0d 181 fma rn f64 $r4d $r6d $r0d $r8d 182 fma r [all...] |
H A D | gk104.asm | 618 fma rn f32 $r5 $r4 $r5 $r0 619 fma rn f32 $r0 neg $r4 $r5 $r4 632 fma rn f64 $r4d $r6d $r0d $r8d 633 fma rn f64 $r0d $r0d $r4d $r0d 634 fma rn f64 $r4d $r6d $r0d $r8d 635 fma rn f64 $r0d $r0d $r4d $r0d 636 fma rn f64 $r4d $r6d $r0d $r8d 637 fma rn f64 $r0d $r0d $r4d $r0d 639 fma rn f64 $r4d $r6d $r0d $r8d 640 fma r [all...] |
/third_party/musl/src/math/x86_64/ |
H A D | fma.c | 5 double fma(double x, double y, double z) in fma() function 13 double fma(double x, double y, double z) in fma() function 21 #include "../fma.c"
|
/third_party/musl/src/math/x32/ |
H A D | fma.c | 5 double fma(double x, double y, double z) in fma() function 13 double fma(double x, double y, double z) in fma() function 21 #include "../fma.c"
|
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_fma_test.cpp | 17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the fma interface. 24 bool testResult = DoubleUlpCmp(g_fmaData[i].expected, fma(g_fmaData[i].input1, g_fmaData[i].input2, in HWTEST_F() 32 * @tc.desc: When the parameter of fma is valid, test the return value of the function. 37 EXPECT_DOUBLE_EQ(17.0, fma(3.0, 4.0, 5.0)); in HWTEST_F()
|
/third_party/musl/libc-test/src/api/ |
H A D | tgmath.c | 131 #ifdef fma in f() 132 {double r = fma(x,y,z);} in f() 134 #error no fma(x,y,z) in f()
|
/third_party/ltp/tools/sparse/sparse-src/validation/linear/ |
H A D | builtin-fma.c | 1 double fma(double a, double x, double y) in fma() function 7 * check-name: builtin-fma 11 fma:
|
/third_party/musl/src/math/powerpc64/ |
H A D | fma.c | 3 double fma(double x, double y, double z) in fma() function
|
/third_party/musl/src/math/riscv32/ |
H A D | fma.c | 5 double fma(double x, double y, double z) in fma() function 13 #include "../fma.c"
|
/third_party/musl/src/math/aarch64/ |
H A D | fma.c | 3 double fma(double x, double y, double z) in fma() function
|
/third_party/musl/src/math/arm/ |
H A D | fma.c | 5 double fma(double x, double y, double z) in fma() function 13 #include "../fma.c"
|
/third_party/musl/porting/liteos_a/kernel/src/math/arm/ |
H A D | fma.c | 5 double fma(double x, double y, double z) in fma() function 13 #include "../fma.c"
|
/third_party/musl/src/math/riscv64/ |
H A D | fma.c | 5 double fma(double x, double y, double z) in fma() function 13 #include "../fma.c"
|
/third_party/musl/src/math/s390x/ |
H A D | fma.c | 3 double fma(double x, double y, double z) in fma() function
|
/third_party/musl/src/math/powerpc/ |
H A D | fma.c | 5 #include "../fma.c" 9 double fma(double x, double y, double z) in fma() function
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | va_perf.c | 38 stats->fma += words; in va_count_instr_stats()
|
H A D | va_compiler.h | 91 unsigned fma, cvt, sfu, v, ls, t; member
|