Home
last modified time | relevance | path

Searched refs:fma (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/third_party/python/Lib/test/decimaltestdata/
DdqFMA.decTest39 dqfma0001 fma 1 1 1 -> 2
40 dqfma0002 fma 1 1 2 -> 3
41 dqfma0003 fma 2 2 3 -> 7
42 dqfma0004 fma 9 9 9 -> 90
43 dqfma0005 fma -1 1 1 -> 0
44 dqfma0006 fma -1 1 2 -> 1
45 dqfma0007 fma -2 2 3 -> -1
46 dqfma0008 fma -9 9 9 -> -72
47 dqfma0011 fma 1 -1 1 -> 0
48 dqfma0012 fma 1 -1 2 -> 1
[all …]
DddFMA.decTest39 ddfma0001 fma 1 1 1 -> 2
40 ddfma0002 fma 1 1 2 -> 3
41 ddfma0003 fma 2 2 3 -> 7
42 ddfma0004 fma 9 9 9 -> 90
43 ddfma0005 fma -1 1 1 -> 0
44 ddfma0006 fma -1 1 2 -> 1
45 ddfma0007 fma -2 2 3 -> -1
46 ddfma0008 fma -9 9 9 -> -72
47 ddfma0011 fma 1 -1 1 -> 0
48 ddfma0012 fma 1 -1 2 -> 1
[all …]
Dfma.decTest2 -- fma.decTest -- decimal fused multiply add --
38 fmax0001 fma 1 1 1 -> 2
39 fmax0002 fma 1 1 2 -> 3
40 fmax0003 fma 2 2 3 -> 7
41 fmax0004 fma 9 9 9 -> 90
42 fmax0005 fma -1 1 1 -> 0
43 fmax0006 fma -1 1 2 -> 1
44 fmax0007 fma -2 2 3 -> -1
45 fmax0008 fma -9 9 9 -> -72
46 fmax0011 fma 1 -1 1 -> 0
[all …]
/third_party/optimized-routines/math/
Derf.c50 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 (x4, r, r1); in erf()
[all …]
Dlog2.c54 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()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc34 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(p, w, -8.1519341976054721522e-14); in erfinv()
[all …]
Dchi_square.cc28 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/musl/libc-test/report_base/
DREPORT100 ../../third_party/musl/libc-test/src/math/special/fma.h:418: RD fma(-0x0p+0,-0x0p+0,-0x0p+0) want -…
101 ../../third_party/musl/libc-test/src/math/special/fma.h:422: RD fma(-0x0p+0,0x0p+0,0x0p+0) want -0x…
102 ../../third_party/musl/libc-test/src/math/special/fma.h:423: RD fma(0x0p+0,-0x0p+0,0x0p+0) want -0x…
103 ../../third_party/musl/libc-test/src/math/special/fma.h:424: RD fma(0x0p+0,0x0p+0,-0x0p+0) want -0x…
104 ../../third_party/musl/libc-test/src/math/special/fma.h:455: RD fma(-0x1p+0,0x1p+0,0x1p+0) want -0x…
105 ../../third_party/musl/libc-test/src/math/special/fma.h:456: RD fma(0x1p+0,0x1p+0,-0x1p+0) want -0x…
106 ../../third_party/musl/libc-test/src/math/special/fma.h:457: RD fma(-0x1p+0,-0x1p+0,-0x1p+0) want -…
107 ../../third_party/musl/libc-test/src/math/special/fma.h:458: RD fma(0x1p+0,0x1p+0,-0x1p-1074) want …
108 ../../third_party/musl/libc-test/src/math/special/fma.h:460: RD fma(0x1p-1074,-0x1p-1074,0x1.ffffff…
109 ../../third_party/musl/libc-test/src/math/special/fma.h:461: RD fma(0x1p-1074,-0x1p-1074,-0x1.fffff…
[all …]
/third_party/mesa3d/src/nouveau/codegen/lib/
Dgk110.asm160 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 rn f64 $r0d $r0d $r4d $r0d
[all …]
/third_party/mesa3d/src/panfrost/bifrost/test/
Dtest-scheduler-predicates.cpp59 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/panfrost/bifrost/
Dbi_schedule.c390 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() argument
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() argument
1042 if ((fma && !bi_can_fma(instr)) || (!fma && !bi_can_add(instr))) in bi_instr_schedulable()
1099 if (!bi_update_fau(clause, tuple, instr, fma, false)) in bi_instr_schedulable()
[all …]
Dbi_pack.c119 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, &tuple->regs, 2), in bi_pack_tuple()
337 bi_get_src_new(tuple->fma, &tuple->regs, 3)); in bi_pack_tuple()
[all …]
/third_party/skia/resources/sksl/inliner/
DInlinerManglesNames.sksl12 half fma(half a, half b, half c) {
17 half a = fma(color.x, color.y, color.z);
18 half b = fma(color.y, color.z, color.w);
19 half c = fma(color.z, color.w, color.x);
DNoInline.sksl16 noinline half fma(half a, half b, half c) {
22 half4 result = fma(colorGreen.a, colorGreen.g, colorGreen.r).0x0x;
DInlinerCanBeDisabled.sksl18 half fma(half a, half b, half c) {
24 sk_FragColor = fma(color.x, color.y, color.z).xxxx;
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/
Dno-contraction.vert23 return fma(l, r, T(0));
37 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
48 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);
62 tmp = fma(vec<T, RCols>(r[i][j]), l[j], tmp);
72 return fma(T(1), l, r);
78 return fma(T(-1), r, l);
Dfloat-math.invariant-float-math.vert74 return fma(l, r, T(0));
88 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
99 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);
113 tmp = fma(vec<T, RCols>(r[i][j]), l[j], tmp);
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/
Dno-contraction.vert23 return fma(l, r, T(0));
37 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
48 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);
62 tmp = fma(vec<T, RCols>(r[i][j]), l[j], tmp);
72 return fma(T(1), l, r);
78 return fma(T(-1), r, l);
Dfloat-math.invariant-float-math.vert74 return fma(l, r, T(0));
88 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
99 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);
113 tmp = fma(vec<T, RCols>(r[i][j]), l[j], tmp);
/third_party/mesa3d/src/compiler/nir/tests/
Dserialize_tests.cpp168 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/gallium/drivers/radeonsi/glsl_tests/
Dfma.glsl3 ; FUNC-LABEL: {{^}}@fma:
11 #shader fs fma
15 gl_FragColor.x = fma(v.x, v.y, v.z);
/third_party/musl/src/math/x86_64/
Dfma.c5 double fma(double x, double y, double z) in fma() function
13 double fma(double x, double y, double z) in fma() function
/third_party/musl/src/math/x32/
Dfma.c5 double fma(double x, double y, double z) in fma() function
13 double fma(double x, double y, double z) in fma() function
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_fma_test.cpp24 …bool testResult = DoubleUlpCmp(g_fmaData[i].expected, fma(g_fmaData[i].input1, g_fmaData[i].input2,
37 EXPECT_DOUBLE_EQ(17.0, fma(3.0, 4.0, 5.0));
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/fma/
Dc10ba3.wgsl26 // fn fma(f32, f32, f32) -> f32
28 var res: f32 = fma(1.0, 1.0, 1.0);

12345678910>>...12