Home
last modified time | relevance | path

Searched refs:CmpEQ (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderGroup.cpp133 res &= AndAll(CmpEQ(filled.xyzw, filled.yzwx)); in EmitGroupNonUniform()
150 auto mask = CmpEQ(id, SIMD::Int(0, 1, 2, 3)); in EmitGroupNonUniform()
169 auto mask = CmpEQ(filled, SIMD::UInt(0, 1, 2, 3)); in EmitGroupNonUniform()
230 auto bits = (value.Int(0) & CmpEQ(vecIdx, SIMD::Int(0))) | in EmitGroupNonUniform()
231 (value.Int(1) & CmpEQ(vecIdx, SIMD::Int(1))) | in EmitGroupNonUniform()
232 (value.Int(2) & CmpEQ(vecIdx, SIMD::Int(2))) | in EmitGroupNonUniform()
233 (value.Int(3) & CmpEQ(vecIdx, SIMD::Int(3))); in EmitGroupNonUniform()
286 auto x = CmpEQ(SIMD::Int(0), id.Int(0)); in EmitGroupNonUniform()
287 auto y = CmpEQ(SIMD::Int(1), id.Int(0)); in EmitGroupNonUniform()
288 auto z = CmpEQ(SIMD::Int(2), id.Int(0)); in EmitGroupNonUniform()
[all …]
DSpirvShaderArithmetic.cpp334 b = b | CmpEQ(b, SIMD::Int(0)); // prevent divide-by-zero in EmitBinaryOp()
335 … a = a | (CmpEQ(a, SIMD::Int(0x80000000)) & CmpEQ(b, SIMD::Int(-1))); // prevent integer overflow in EmitBinaryOp()
341 auto zeroMask = As<SIMD::UInt>(CmpEQ(rhs.Int(i), SIMD::Int(0))); in EmitBinaryOp()
349 b = b | CmpEQ(b, SIMD::Int(0)); // prevent divide-by-zero in EmitBinaryOp()
350 … a = a | (CmpEQ(a, SIMD::Int(0x80000000)) & CmpEQ(b, SIMD::Int(-1))); // prevent integer overflow in EmitBinaryOp()
358 b = b | CmpEQ(b, SIMD::Int(0)); // prevent divide-by-zero in EmitBinaryOp()
359 … a = a | (CmpEQ(a, SIMD::Int(0x80000000)) & CmpEQ(b, SIMD::Int(-1))); // prevent integer overflow in EmitBinaryOp()
374 auto zeroMask = As<SIMD::UInt>(CmpEQ(rhs.Int(i), SIMD::Int(0))); in EmitBinaryOp()
380 dst.move(i, CmpEQ(lhs.Int(i), rhs.Int(i))); in EmitBinaryOp()
430 dst.move(i, CmpEQ(lhs.Float(i), rhs.Float(i))); in EmitBinaryOp()
DShaderCore.cpp202 Int4 pos_inf_x = CmpEQ(As<Int4>(x), Int4(0x7F800000)); in logarithm2()
414 Int4 zero_x = CmpEQ(x2, Float4(0.0f)); in arctan()
569 auto isDnormOrZero = CmpEQ(exp16, SIMD::UInt(0)); in halfToFloatBits()
570 auto isInfOrNaN = CmpEQ(exp16, SIMD::UInt(0x7C00)); in halfToFloatBits()
1028 return rr::SignMask(~CmpEQ(o.yzww, o + SIMD::Int(1 * step, 2 * step, 3 * step, 0))) == 0; in hasSequentialOffsets()
1055 return rr::SignMask(~CmpEQ(o, o.yzwx)) == 0; in hasEqualOffsets()
DSpirvShaderGLSLstd450.cpp138 …SIMD::Float(CmpEQ(Frac(src.Float(i)), SIMD::Float(0.5f)) & SIMD::Int(1)) * SIMD::Float(Int4(x) & S… in EmitExtGLSLstd450()
551 auto isSignificandZero = SIMD::UInt(CmpEQ(significand.Int(i), SIMD::Int(0))); in EmitExtGLSLstd450()
879 dst.move(i, Cttz(v, true) | CmpEQ(v, SIMD::UInt(0))); in EmitExtGLSLstd450()
DSpirvShaderControlFlow.cpp549 auto caseLabelMatch = CmpEQ(sel.Int(0), SIMD::Int(label)); in EmitSwitch()
DPixelRoutine.cpp394 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceMaskedQ))); in stencilTest()
397 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceMaskedQ))); in stencilTest()
402 equal = CmpEQ(equal, *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceMaskedQ))); in stencilTest()
453 zTest = CmpEQ(zValue, Z); in depthTest32F()
530 zTest = Int4(CmpEQ(zValue, Z)); in depthTest16()
533 zTest = ~Int4(CmpEQ(zValue, Z)); in depthTest16()
DSpirvShader.cpp2225 v |= CmpEQ(index.UInt(0), SIMD::UInt(i)) & src.UInt(i); in EmitVectorExtractDynamic()
2243 SIMD::UInt mask = CmpEQ(SIMD::UInt(i), index.UInt(0)); in EmitVectorInsertDynamic()
DVertexRoutine.cpp600 …Float4 w = As<Float4>(As<Int4>(pos.w) | (As<Int4>(CmpEQ(pos.w, Float4(0.0f))) & As<Int4>(Float4(1.… in writeCache()
DSamplerCore.cpp2050 case VK_COMPARE_OP_EQUAL: boolean = CmpEQ(ref, c.x); break; in sampleTexel()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DShaderCore.cpp164 Int4 pos_inf_x = CmpEQ(As<Int4>(x), Int4(0x7F800000)); in logarithm2()
430 Int4 zero_x = CmpEQ(x2, Float4(0.0f)); in arctan()
1382 …dst.x += ((Float4(CmpLT(dst.x, src.x) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Fr… in roundEven()
1383 …dst.y += ((Float4(CmpLT(dst.y, src.y) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Fr… in roundEven()
1384 …dst.z += ((Float4(CmpLT(dst.z, src.z) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Fr… in roundEven()
1385 …dst.w += ((Float4(CmpLT(dst.w, src.w) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Fr… in roundEven()
1777 select(dst, CmpEQ(As<Int4>(src1), Int4(1)), src0.y, src0.x); in extract()
1778 select(dst, CmpEQ(As<Int4>(src1), Int4(2)), src0.z, dst); in extract()
1779 select(dst, CmpEQ(As<Int4>(src1), Int4(3)), src0.w, dst); in extract()
1784 select(dst.x, CmpEQ(As<Int4>(index), Int4(0)), element, src.x); in insert()
[all …]
DPixelRoutine.cpp359 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedQ))); in stencilTest()
362 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedQ))); in stencilTest()
367 equal = CmpEQ(equal, *Pointer<Byte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedQ))); in stencilTest()
454 zTest = CmpEQ(zValue, Z); in depthTest()
538 cmp = CmpEQ(alpha, *Pointer<Short4>(data + OFFSET(DrawData,factor.alphaReference4))); in alphaTest()
542 …cmp = CmpEQ(alpha, *Pointer<Short4>(data + OFFSET(DrawData,factor.alphaReference4))) ^ Short4(0xFF… in alphaTest()
550 equal = CmpEQ(alpha, *Pointer<Short4>(data + OFFSET(DrawData,factor.alphaReference4))); in alphaTest()
DVertexProgram.cpp1085 case Shader::CONTROL_EQ: condition = CmpEQ(src0.x, src1.x); break; in BREAKC()
1379 case Shader::CONTROL_EQ: condition = CmpEQ(src0.x, src1.x); break; in IFC()
DPixelProgram.cpp1401 case Shader::CONTROL_EQ: condition = CmpEQ(src0.x, src1.x); break; in BREAKC()
1695 case Shader::CONTROL_EQ: condition = CmpEQ(src0.x, src1.x); break; in IFC()
DVertexRoutine.cpp725 …Float4 w = As<Float4>(As<Int4>(v.w) | (As<Int4>(CmpEQ(v.w, Float4(0.0f))) & As<Int4>(Float4(1.0f))… in writeCache()
DSamplerCore.cpp2184 case COMPARE_EQUAL: boolean = CmpEQ(ref, c.x); break; in sampleTexel()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DOptimalIntrinsics.cpp180 Int4 zero_x = CmpEQ(x2, Float4(0.0f)); in Atan2()
242 Int4 pos_inf_x = CmpEQ(As<Int4>(x), Int4(0x7F800000)); in Log2()
DReactor.hpp718 RValue<Byte8> CmpEQ(RValue<Byte8> x, RValue<Byte8> y);
771 RValue<Byte8> CmpEQ(RValue<SByte8> x, RValue<SByte8> y);
954 RValue<Short4> CmpEQ(RValue<Short4> x, RValue<Short4> y);
1996 RValue<Int4> CmpEQ(RValue<Int4> x, RValue<Int4> y);
2096 RValue<UInt4> CmpEQ(RValue<UInt4> x, RValue<UInt4> y);
2368 RValue<Int4> CmpEQ(RValue<Float4> x, RValue<Float4> y);
DLLVMReactor.cpp1932 RValue<Byte8> CmpEQ(RValue<Byte8> x, RValue<Byte8> y) in CmpEQ() function
1987 RValue<Byte8> CmpEQ(RValue<SByte8> x, RValue<SByte8> y) in CmpEQ() function
2166 RValue<Short4> CmpEQ(RValue<Short4> x, RValue<Short4> y) in CmpEQ() function
2672 RValue<Int4> CmpEQ(RValue<Int4> x, RValue<Int4> y) in CmpEQ() function
2855 RValue<UInt4> CmpEQ(RValue<UInt4> x, RValue<UInt4> y) in CmpEQ() function
3225 RValue<Int4> CmpEQ(RValue<Float4> x, RValue<Float4> y) in CmpEQ() function
DSubzeroReactor.cpp2389 RValue<Byte8> CmpEQ(RValue<Byte8> x, RValue<Byte8> y) in CmpEQ() function
2502 RValue<Byte8> CmpEQ(RValue<SByte8> x, RValue<SByte8> y) in CmpEQ() function
2797 RValue<Short4> CmpEQ(RValue<Short4> x, RValue<Short4> y) in CmpEQ() function
3521 RValue<Int4> CmpEQ(RValue<Int4> x, RValue<Int4> y) in CmpEQ() function
3780 RValue<UInt4> CmpEQ(RValue<UInt4> x, RValue<UInt4> y) in CmpEQ() function
4054 RValue<Int4> CmpEQ(RValue<Float4> x, RValue<Float4> y) in CmpEQ() function
DReactor.cpp4292 return CmpEQ(As<Int4>(x) & Int4(0x7FFFFFFF), Int4(0x7F800000)); in IsInf()
4297 return ~CmpEQ(x, x); in IsNan()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.td71 def CmpEQ : PatLeaf<(i32 0)>;
1729 defm : ISET_FORMAT_SIGNED<seteq, CmpEQ>;
1735 defm : ISET_FORMAT_UNSIGNED<setueq, CmpEQ>;
1853 defm FSetOEQ : FSET_FORMAT<setoeq, CmpEQ, CmpEQ_FTZ>;
1867 defm FSetEQ : FSET_FORMAT<seteq, CmpEQ, CmpEQ_FTZ>;
2653 (SETP_b16ri (BITCONVERT_16_F2I Float16Regs:$a), 0, CmpEQ)>;
2663 (SETP_b16ri (BITCONVERT_16_F2I Float16Regs:$a), 0, CmpEQ)>;
2673 (SETP_b32ri (BITCONVERT_32_F2I Float32Regs:$a), 0, CmpEQ)>;
2689 (SETP_b32ri (BITCONVERT_32_F2I Float32Regs:$a), 0, CmpEQ)>;
2705 (SETP_b64ri (BITCONVERT_64_F2I Float64Regs:$a), 0, CmpEQ)>;
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp1417 …*Pointer<Int4>(out + 16 * 0) = CmpEQ(Float4(1.0f, 1.0f, -0.0f, +0.0f), Float4(0.0f, 1.0f, +0.0f, -… in TEST()
1418 *Pointer<Int4>(out + 16 * 1) = CmpEQ(Int4(1, 0, -1, -0), Int4(0, 1, 0, +0)); in TEST()
1419 …*Pointer<Byte8>(out + 16 * 2) = CmpEQ(SByte8(1, 2, 3, 4, 5, 6, 7, 8), SByte8(7, 6, 5, 4, 3, 2, 1, … in TEST()