Home
last modified time | relevance | path

Searched refs:VIMMED1 (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp65 out[0] = out[1] = out[2] = out[3] = VIMMED1(1.0f); in GenerateBlendFactor()
86 out[0] = out[1] = out[2] = VMINPS(src[3], FSUB(VIMMED1(1.0f), dst[3])); in GenerateBlendFactor()
87 out[3] = VIMMED1(1.0f); in GenerateBlendFactor()
108 out[0] = out[1] = out[2] = out[3] = VIMMED1(0.0f); in GenerateBlendFactor()
111 out[0] = FSUB(VIMMED1(1.0f), src[0]); in GenerateBlendFactor()
112 out[1] = FSUB(VIMMED1(1.0f), src[1]); in GenerateBlendFactor()
113 out[2] = FSUB(VIMMED1(1.0f), src[2]); in GenerateBlendFactor()
114 out[3] = FSUB(VIMMED1(1.0f), src[3]); in GenerateBlendFactor()
117 out[0] = out[1] = out[2] = out[3] = FSUB(VIMMED1(1.0f), src[3]); in GenerateBlendFactor()
120 out[0] = out[1] = out[2] = out[3] = FSUB(VIMMED1(1.0f), dst[3]); in GenerateBlendFactor()
[all …]
Dbuilder_misc.cpp134 Value* Builder::VIMMED1(uint64_t i) in VIMMED1() function in SwrJit::Builder
156 Value* Builder::VIMMED1(int i) in VIMMED1() function in SwrJit::Builder
178 Value* Builder::VIMMED1(uint32_t i) in VIMMED1() function in SwrJit::Builder
200 Value* Builder::VIMMED1(float i) in VIMMED1() function in SwrJit::Builder
222 Value* Builder::VIMMED1(bool i) in VIMMED1() function in SwrJit::Builder
353 return FDIV(VIMMED1(1.0f), va, name); // 1 / a in VRCP()
561 return ICMP_SLT(src, VIMMED1(0)); in MASK()
799 Value* result = BITCAST(AND(asInt, VIMMED1(0x7fffffff)), mSimdFP32Ty); in VABSPS()
827 Value* result = VMAXPS(src, VIMMED1(low)); in FCLAMP()
828 result = VMINPS(result, VIMMED1(high)); in FCLAMP()
[all …]
Dfetch_jit.cpp255 Value* vCutIndex = VIMMED1(fetchState.cutIndex); in Create()
387 GATHERDD(VIMMED1(0), xpBase, pOffsets, pMask, 1, MEM_CLIENT::GFX_MEM_CLIENT_FETCH); in CreateGatherOddFormats()
393 STORE(VIMMED1(0u), pMem); in CreateGatherOddFormats()
462 pResult[comp] = VIMMED1((int)info.defaults[comp]); in CreateGatherOddFormats()
499 Value* vScale = VIMMED1(scale); in ConvertFormat()
516 Value* vScale = VIMMED1(scale); in ConvertFormat()
524 Value* vScale = VIMMED1(scale); in ConvertFormat()
597 Value* vInstanceStride = VIMMED1(0); in JitGatherVertices()
671 Value* pZeroPitchMask = ICMP_EQ(vStride, VIMMED1(0)); in JitGatherVertices()
672 vCurIndices = SELECT(pZeroPitchMask, VIMMED1(0), vCurIndices); in JitGatherVertices()
[all …]
Dbuilder_misc.h85 Value* VIMMED1(uint64_t i);
88 Value* VIMMED1(int i);
91 Value* VIMMED1(uint32_t i);
94 Value* VIMMED1(float i);
97 Value* VIMMED1(bool i);
Dbuilder_mem.cpp279 Value* vGatherMaskedVal = VIMMED1((float)0); in GATHER4PS()
316 vGatherComponents[i] = VIMMED1(*(float*)&info.defaults[i]); in GATHER4PS()
350 Value* vGatherMaskedVal = VIMMED1((int32_t)0); in GATHER4DD()
365 Value* vGatherMaskedVal = VIMMED1((int32_t)0); in GATHER4DD()
402 vGatherComponents[i] = VIMMED1((int)info.defaults[i]); in GATHER4DD()
471 Value* vGatherMaskedVal = VIMMED1((int32_t)(info.defaults[i])); in Shuffle16bpcGather4()
506 vGatherOutput[i] = VIMMED1((int32_t)info.defaults[i]); in Shuffle16bpcGather4()
571 Value* vGatherMaskedVal = VIMMED1((int32_t)(info.defaults[i])); in Shuffle8bpcGather4()
595 vGatherOutput[i] = VIMMED1((int32_t)info.defaults[i]); in Shuffle8bpcGather4()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp760 Value *pVertexOffset = MUL(unwrap(emitted_vertices_vec), VIMMED1(vertSize)); in swr_gs_llvm_emit_vertex()
789 …Value *pOutputOffset = ADD(pVertexOffset, VIMMED1(headerSize + attribSize * attribSlot)); // + sgv… in swr_gs_llvm_emit_vertex()
834 Value *pShiftControl = MUL(unwrap(emitted_vertices_vec), VIMMED1(2)); in swr_gs_llvm_emit_vertex()
837 Value *pOffsetControl = LSHR(unwrap(emitted_vertices_vec), VIMMED1(2)); in swr_gs_llvm_emit_vertex()
840 Value *pStreamIdOffset = ADD(pOffsetControl, VIMMED1(VERTEX_COUNT_SIZE)); in swr_gs_llvm_emit_vertex()
891 ADD(MUL(unwrap(emitted_prims_vec), VIMMED1(vertsPerPrim)), in swr_gs_llvm_end_primitive()
897 Value *cmpMask = VMASK(ICMP_NE(unwrap(verts_per_prim_vec), VIMMED1(0))); in swr_gs_llvm_end_primitive()
901 vCount = SUB(vCount, VIMMED1(1)); in swr_gs_llvm_end_primitive()
902 Value *vOffset = ADD(UDIV(vCount, VIMMED1(8)), VIMMED1(VERTEX_COUNT_SIZE)); in swr_gs_llvm_end_primitive()
903 Value *vValue = SHL(VIMMED1(1), UREM(vCount, VIMMED1(8))); in swr_gs_llvm_end_primitive()
[all …]