Home
last modified time | relevance | path

Searched refs:_simd_mul_ps (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dblend.h188 result.x = _simd_fmadd_ps(srcFactor.x, src.x, _simd_mul_ps(dstFactor.x, dst.x)); in BlendFunc()
189 result.y = _simd_fmadd_ps(srcFactor.y, src.y, _simd_mul_ps(dstFactor.y, dst.y)); in BlendFunc()
190 result.z = _simd_fmadd_ps(srcFactor.z, src.z, _simd_mul_ps(dstFactor.z, dst.z)); in BlendFunc()
191 result.w = _simd_fmadd_ps(srcFactor.w, src.w, _simd_mul_ps(dstFactor.w, dst.w)); in BlendFunc()
195 result.x = _simd_fmsub_ps(srcFactor.x, src.x, _simd_mul_ps(dstFactor.x, dst.x)); in BlendFunc()
196 result.y = _simd_fmsub_ps(srcFactor.y, src.y, _simd_mul_ps(dstFactor.y, dst.y)); in BlendFunc()
197 result.z = _simd_fmsub_ps(srcFactor.z, src.z, _simd_mul_ps(dstFactor.z, dst.z)); in BlendFunc()
198 result.w = _simd_fmsub_ps(srcFactor.w, src.w, _simd_mul_ps(dstFactor.w, dst.w)); in BlendFunc()
202 result.x = _simd_fmsub_ps(dstFactor.x, dst.x, _simd_mul_ps(srcFactor.x, src.x)); in BlendFunc()
203 result.y = _simd_fmsub_ps(dstFactor.y, dst.y, _simd_mul_ps(srcFactor.y, src.y)); in BlendFunc()
[all …]
Dbinner.cpp55 simdscalar vFixed = _simd_mul_ps(vIn, _simd_set1_ps(PT::ScaleT::value)); in fpToFixedPointVertical()
472 tri[0].v[0] = _simd_mul_ps(tri[0].v[0], vRecipW0); in BinTriangles()
473 tri[1].v[0] = _simd_mul_ps(tri[1].v[0], vRecipW1); in BinTriangles()
474 tri[2].v[0] = _simd_mul_ps(tri[2].v[0], vRecipW2); in BinTriangles()
476 tri[0].v[1] = _simd_mul_ps(tri[0].v[1], vRecipW0); in BinTriangles()
477 tri[1].v[1] = _simd_mul_ps(tri[1].v[1], vRecipW1); in BinTriangles()
478 tri[2].v[1] = _simd_mul_ps(tri[2].v[1], vRecipW2); in BinTriangles()
480 tri[0].v[2] = _simd_mul_ps(tri[0].v[2], vRecipW0); in BinTriangles()
481 tri[1].v[2] = _simd_mul_ps(tri[1].v[2], vRecipW1); in BinTriangles()
482 tri[2].v[2] = _simd_mul_ps(tri[2].v[2], vRecipW2); in BinTriangles()
[all …]
Dclip.h71 simdscalar vNegW = _simd_mul_ps(vertex.w, _simd_set1_ps(-1.0f)); in ComputeClipCodes()
113 …simdscalar gbMult = _simd_mul_ps(vNegW, _simd_i32gather_ps(&state.gbState.left[0], viewportIndexes… in ComputeClipCodes()
118 gbMult = _simd_mul_ps(vNegW, _simd_i32gather_ps(&state.gbState.top[0], viewportIndexes, 4)); in ComputeClipCodes()
123 … gbMult = _simd_mul_ps(vertex.w, _simd_i32gather_ps(&state.gbState.right[0], viewportIndexes, 4)); in ComputeClipCodes()
128 … gbMult = _simd_mul_ps(vertex.w, _simd_i32gather_ps(&state.gbState.bottom[0], viewportIndexes, 4)); in ComputeClipCodes()
667 … case FRUSTUM_LEFT: return _simd_cmpge_ps(v[0], _simd_mul_ps(v[3], _simd_set1_ps(-1.0f))); in inside()
669 … case FRUSTUM_TOP: return _simd_cmpge_ps(v[1], _simd_mul_ps(v[3], _simd_set1_ps(-1.0f))); in inside()
671 …cmpge_ps(v[2], this->state.rastState.clipHalfZ ? _simd_setzero_ps() : _simd_mul_ps(v[3], _simd_set… in inside()
Ddepthstencil.h102 simdscalar result = _simd_mul_ps(depth, _simd_set1_ps(quantize)); in QuantizeDepth()
112 result = _simd_mul_ps(result, _simd_set1_ps(1.0f / quantize)); in QuantizeDepth()
Dbackend.h406 psContext.vI.centroid = _simd_mul_ps(psContext.vI.centroid, coeffs.vRecipDet);
407 psContext.vJ.centroid = _simd_mul_ps(psContext.vJ.centroid, coeffs.vRecipDet);
675 psContext.vI.center = _simd_mul_ps(psContext.vI.center, coeffs.vRecipDet);
676 psContext.vJ.center = _simd_mul_ps(psContext.vJ.center, coeffs.vRecipDet);
687 psContext.vI.sample = _simd_mul_ps(psContext.vI.sample, coeffs.vRecipDet);
688 psContext.vJ.sample = _simd_mul_ps(psContext.vJ.sample, coeffs.vRecipDet);
Dformat_conversion.h65 vComp = _simd_mul_ps(vComp, _simd_set1_ps(FormatTraits<SrcFormat>::toFloat(comp))); in LoadSOA()
132 vComp = _simd_mul_ps(vComp, _simd_set1_ps(FormatTraits<Format>::fromFloat(Component))); in Normalize()
Dbackend.cpp164 vComp = _simd_mul_ps(vComp, _simd_set1_ps(FormatTraits<format>::fromFloat(comp))); in ClearMacroTile()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dsimdintrin.h66 #define _simd_mul_ps _mm256_mul_ps macro
768 r = _simd_mul_ps(v0[0], v1[0]); // (v0.x*v1.x) in _simdvec_dp3_ps()
770 tmp = _simd_mul_ps(v0[1], v1[1]); // (v0.y*v1.y) in _simdvec_dp3_ps()
773 tmp = _simd_mul_ps(v0[2], v1[2]); // (v0.z*v1.z) in _simdvec_dp3_ps()
781 r = _simd_mul_ps(v0[0], v1[0]); // (v0.x*v1.x) in _simdvec_dp4_ps()
783 tmp = _simd_mul_ps(v0[1], v1[1]); // (v0.y*v1.y) in _simdvec_dp4_ps()
786 tmp = _simd_mul_ps(v0[2], v1[2]); // (v0.z*v1.z) in _simdvec_dp4_ps()
789 tmp = _simd_mul_ps(v0[3], v1[3]); // (v0.w*v1.w) in _simdvec_dp4_ps()
807 r[0] = _simd_mul_ps(v[0], vecLength); in _simdvec_normalize_ps()
808 r[1] = _simd_mul_ps(v[1], vecLength); in _simdvec_normalize_ps()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DStoreTile.h724 vComp0 = _simd_mul_ps(vComp0, _simd_set1_ps(FormatTraits<DstFormat>::fromFloat(0)));
725 vComp1 = _simd_mul_ps(vComp1, _simd_set1_ps(FormatTraits<DstFormat>::fromFloat(1)));
726 vComp2 = _simd_mul_ps(vComp2, _simd_set1_ps(FormatTraits<DstFormat>::fromFloat(2)));
727 vComp3 = _simd_mul_ps(vComp3, _simd_set1_ps(FormatTraits<DstFormat>::fromFloat(3)));
891 vComp0 = _simd_mul_ps(vComp0, _simd_set1_ps(FormatTraits<DstFormat>::fromFloat(0)));
892 vComp1 = _simd_mul_ps(vComp1, _simd_set1_ps(FormatTraits<DstFormat>::fromFloat(1)));
893 vComp2 = _simd_mul_ps(vComp2, _simd_set1_ps(FormatTraits<DstFormat>::fromFloat(2)));