Home
last modified time | relevance | path

Searched refs:splat (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/flutter/skia/resources/
DSkVMTest.expected3 ☠️ v0 = splat 0 (0)
5 ↑ v2 = splat 3B808081 (0.0039215689)
11 ↑ v8 = splat 3F800000 (1)
15 ↑ v12 = splat 437F0000 (255)
16 ↑ v13 = splat 3F000000 (0.5)
22 r0 = splat 3B808081 (0.0039215689)
23 r1 = splat 3F800000 (1)
24 r2 = splat 437F0000 (255)
25 r3 = splat 3F000000 (0.5)
41 ☠️ v0 = splat 0 (0)
[all …]
/third_party/flutter/skia/tools/
DSkVMBuilders.cpp17 skvm::F32 _1_255 = splat(1/255.0f); in SrcoverBuilder_F32()
26 *r = *g = *b = splat(0.0f); in SrcoverBuilder_F32()
33 *a = splat(1.0f); in SrcoverBuilder_F32()
39 *r = byte_to_f32(extract(rgba, 0, splat(0xff))); in SrcoverBuilder_F32()
40 *g = byte_to_f32(extract(rgba, 8, splat(0xff))); in SrcoverBuilder_F32()
41 *b = byte_to_f32(extract(rgba, 16, splat(0xff))); in SrcoverBuilder_F32()
42 *a = byte_to_f32(extract(rgba, 24, splat(0xff))); in SrcoverBuilder_F32()
54 skvm::F32 invA = sub(splat(1.0f), a); in SrcoverBuilder_F32()
61 skvm::F32 _255 = splat(255.0f), in SrcoverBuilder_F32()
62 _0_5 = splat(0.5f); in SrcoverBuilder_F32()
[all …]
/third_party/flutter/skia/src/core/
DSkVMBlitter.cpp73 return sub(splat(255), x); in inv()
80 skvm::I32 v128 = add(v, splat(128)); in div255()
91 extract(rgba, 0, splat(0xff)), in unpack_8888()
92 extract(rgba, 8, splat(0xff)), in unpack_8888()
93 extract(rgba, 16, splat(0xff)), in unpack_8888()
94 extract(rgba, 24, splat(0xff)), in unpack_8888()
106 skvm::I32 r = extract(bgr, 11, splat(0b011'111)), in unpack_565()
107 g = extract(bgr, 5, splat(0b111'111)), in unpack_565()
108 b = extract(bgr, 0, splat(0b011'111)); in unpack_565()
114 splat(0xff), in unpack_565()
[all …]
/third_party/skia/tests/sksl/runtime/
DArrayIndexing.skvm68 29 r29 = splat 0 (0)
69 30 r30 = splat FFFFFFFF (nan)
70 31 r31 = splat 3 (4.2038954e-45)
71 32 r32 = splat 2 (2.8025969e-45)
73 34 r34 = splat 1 (1.4012985e-45)
76 37 r37 = splat 3F800000 (1)
80 41 r41 = splat C0133333 (-2.3)
81 42 r42 = splat 3FB33334 (1.4000001)
83 44 r44 = splat 40A33334 (5.1000004)
85 46 r46 = splat 410CCCCD (8.8000002)
[all …]
DConversionConstructors.skvm5 3 r3 = splat 0 (0)
6 4 r4 = splat FFFFFFFF (nan)
8 6 r6 = splat 3F800000 (1)
14 12 r4 = splat 1 (1.4012985e-45)
DSwitchWithFallthrough.skvm10 8 r8 = splat 0 (0)
11 9 r9 = splat FFFFFFFF (nan)
13 11 r11 = splat 2 (2.8025969e-45)
17 15 r14 = splat 1 (1.4012985e-45)
36 34 r9 = splat 3 (4.2038954e-45)
DSampleWithExplicitCoord.skvm5 3 r2 = splat 1 (1.4012985e-45)
6 4 r3 = splat 2 (2.8025969e-45)
7 5 r4 = splat 3 (4.2038954e-45)
DLoopFloat.skvm66 9 r9 = splat 0 (0)
67 10 r10 = splat FFFFFFFF (nan)
68 11 r11 = splat 41200000 (10)
69 12 r12 = splat 40A00000 (5)
70 13 r13 = splat 3F800000 (1)
71 14 r14 = splat 40000000 (2)
72 15 r15 = splat 40400000 (3)
73 16 r16 = splat 40800000 (4)
74 17 r17 = splat 40C00000 (6)
75 18 r18 = splat 40E00000 (7)
[all …]
DPrecisionQualifiers.skvm149 9 r9 = splat FFFFFFFF (nan)
150 10 r10 = splat 3F800000 (1)
151 11 r11 = splat 3F000000 (0.5)
152 12 r12 = splat 2 (2.8025969e-45)
153 13 r13 = splat 40000000 (2)
154 14 r14 = splat 40400000 (3)
155 15 r15 = splat 40800000 (4)
156 16 r16 = splat 3 (4.2038954e-45)
157 17 r17 = splat 4 (5.6051939e-45)
DSwitch.skvm10 8 r8 = splat 0 (0)
11 9 r9 = splat FFFFFFFF (nan)
20 18 r16 = splat 1 (1.4012985e-45)
DConstPreservation.skvm2 0 r0 = splat 0 (0)
3 1 r1 = splat 3F800000 (1)
DGlobalVariables.skvm2 0 r0 = splat 0 (0)
3 1 r1 = splat 3F800000 (1)
DLoopInt.skvm64 9 r9 = splat 0 (0)
65 10 r10 = splat FFFFFFFF (nan)
66 11 r11 = splat A (1.4012985e-44)
67 12 r12 = splat 5 (7.0064923e-45)
68 13 r13 = splat 1 (1.4012985e-45)
69 14 r14 = splat 2 (2.8025969e-45)
70 15 r15 = splat 3 (4.2038954e-45)
71 16 r16 = splat 4 (5.6051939e-45)
72 17 r17 = splat 6 (8.4077908e-45)
73 18 r18 = splat 7 (9.8090893e-45)
[all …]
/third_party/skia/src/core/
DSkVM.h444 M(splat) \
697 I32 splat(int n);
698 I32 splat(unsigned u) { return splat((int)u); } in splat() function
699 F32 splat(float f) { in splat() function
702 return pun_to_F32(splat(bits)); in splat()
720 F32 add(F32 x, float y) { return add(x, splat(y)); } in add()
721 F32 add(float x, F32 y) { return add(splat(x), y); } in add()
724 F32 sub(F32 x, float y) { return sub(x, splat(y)); } in sub()
725 F32 sub(float x, F32 y) { return sub(splat(x), y); } in sub()
728 F32 mul(F32 x, float y) { return mul(x, splat(y)); } in mul()
[all …]
DSkVM.cpp324 case Op::splat: write(o, V{id}, "=", op, Splat{immA}); break; in write_one_instruction()
444 case Op::splat: write(o, R{d}, "=", op, Splat{immA}); break; in dump()
692 I32 val = b ? this->splat(1) : this->splat(0); in trace_var()
745 I32 Builder::splat(int n) { return {this, push(Op::splat, NA,NA,NA,NA, n) }; } in splat() function in skvm::Builder
763 if (float X,Y; this->allImm(x.id,&X, y.id,&Y)) { return splat(X+Y); } in add()
779 if (float X,Y; this->allImm(x.id,&X, y.id,&Y)) { return splat(X-Y); } in sub()
793 if (float X,Y; this->allImm(x.id,&X, y.id,&Y)) { return splat(X*Y); } in mul()
800 if (this->isImm(x.id, 0.0f) || this->isImm(y.id, 0.0f)) { return splat(0.0f); } in fast_mul()
805 if (float X,Y; this->allImm(x.id,&X, y.id,&Y)) { return splat(sk_ieee_float_divide(X,Y)); } in div()
811 if (float X; this->allImm(x.id,&X)) { return splat(std::sqrt(X)); } in sqrt()
[all …]
/third_party/flutter/skia/tests/
DSkVMTest.cpp104 case Op::splat: write(o, V{id}, "= splat", Splat{imm}); break; in dump_builder()
206 case Op::splat: write(o, R{d}, "= splat", Splat{imm}); break; in dump_program()
329 skvm::I32 x = b.splat(1), in DEF_TEST()
330 y = b.add(x, b.splat(2)); in DEF_TEST()
462 b.add(b.splat(5.0f), in DEF_TEST()
463 b.splat(4.0f)); in DEF_TEST()
484 b.add(b.splat(1), in DEF_TEST()
515 b.store32(buf32, b.gather32(img, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
516 b.store16(buf16, b.gather16(img, b.bit_and(x, b.splat(15)))); in DEF_TEST()
517 b.store8 (buf8 , b.gather8 (img, b.bit_and(x, b.splat(31)))); in DEF_TEST()
[all …]
/third_party/skia/tests/
DSkVMTest.cpp30 b.add(a, b.splat(7)); in DEF_TEST()
45 b.add(b.splat(5.0f), in DEF_TEST()
46 b.splat(4.0f)); in DEF_TEST()
62 b.store32(b.varying<int>(), b.splat(42)); in DEF_TEST()
117 b.add(b.splat(1), in DEF_TEST()
144 b.store32(buf, b.gather32(uniforms,0, b.bit_and(x, b.splat(7)))); in DEF_TEST()
196 b.store32(buf32, b.gather32(uniforms,0, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
197 b.store16(buf16, b.gather16(uniforms,0, b.bit_and(x, b.splat(15)))); in DEF_TEST()
198 b.store8 (buf8 , b.gather8 (uniforms,0, b.bit_and(x, b.splat(31)))); in DEF_TEST()
300 x = b.bit_and (x, b.splat(0xf1)); // 0x40 in DEF_TEST()
[all …]
/third_party/skia/src/opts/
DSk4px_SSE2.h39 __m128i splat = _mm_set_epi8(15,15,15,15, 11,11,11,11, 7,7,7,7, 3,3,3,3); in alphas() local
40 return Sk16b(_mm_shuffle_epi8(this->fVec, splat)); in alphas()
46 __m128i splat = _mm_set_epi8(3,3,3,3, 2,2,2,2, 1,1,1,1, 0,0,0,0); in Load4Alphas() local
47 return Sk16b(_mm_shuffle_epi8(_mm_cvtsi32_si128(as), splat)); in Load4Alphas()
/third_party/flutter/skia/src/opts/
DSk4px_SSE2.h39 __m128i splat = _mm_set_epi8(15,15,15,15, 11,11,11,11, 7,7,7,7, 3,3,3,3); in alphas() local
40 return Sk16b(_mm_shuffle_epi8(this->fVec, splat)); in alphas()
46 __m128i splat = _mm_set_epi8(3,3,3,3, 2,2,2,2, 1,1,1,1, 0,0,0,0); in Load4Alphas() local
47 return Sk16b(_mm_shuffle_epi8(_mm_cvtsi32_si128(as), splat)); in Load4Alphas()
/third_party/rust/crates/memchr/src/memmem/
Dvector.rs23 unsafe fn splat(byte: u8) -> Self; in splat() method
41 unsafe fn splat(byte: u8) -> __m128i { in splat() method
74 unsafe fn splat(byte: u8) -> __m256i { in splat() method
107 unsafe fn splat(byte: u8) -> v128 { in splat() method
/third_party/skia/resources/sksl/folding/
DCastFolding.sksl20 ok = ok && (int4(half4One) == int4(intOne)); // cast(vector) == splat(scalar)
21 ok = ok && (half4(int4One) == half4(half(floatOne))); // cast(vector) == splat(cast(scalar))
22 ok = ok && (half4(intOne) == half4(float4(floatOne))); // splatcast(sclr) == cast(splat(sclr))
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp367 fConditionMask = fLoopMask = fBuilder->splat(0xffff'ffff); in writeProgram()
409 this->writeToSlot(slot + 2, fBuilder->splat(0.0f).id); in setupGlobals()
410 this->writeToSlot(slot + 3, fBuilder->splat(1.0f).id); in setupGlobals()
450 fFunctionStack.push_back({outReturn, /*returned=*/fBuilder->splat(0)}); in writeFunction()
571 skvm::Val initialValue = fBuilder->splat(0.0f).id; in getSlot()
641 const skvm::F32 zero = fBuilder->splat(0.0f); in writeBinaryExpression()
866 const skvm::F32 zero = fBuilder->splat(0.0f); in writeConstructorDiagonalMatrix()
890 dst[dstIndex++] = fBuilder->splat(c == r ? 1.0f : 0.0f); in writeConstructorMatrixResize()
1332 const skvm::F32 zero = fBuilder->splat(0.0f); in writeFunctionCall()
1380 std::vector<skvm::F32> result(nslots, fBuilder->splat(0.0f)); in writeExternalFunctionCall()
[all …]
/third_party/skia/src/sksl/ir/
DSkSLConstructorCompoundCast.cpp31 ConstructorSplat& splat = constCtor->as<ConstructorSplat>(); in cast_constant_composite() local
35 std::move(splat.argument()))); in cast_constant_composite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMSA.txt30 When the shuffle description describes a splat operation, splat.[bhwd]
43 splat.[bhwd]
/third_party/rust/crates/memchr/src/memmem/prefilter/
Dgenericsimd.rs63 let rare1chunk = V::splat(needle[rare1i]); in find()
64 let rare2chunk = V::splat(needle[rare2i]); in find()

1234