Home
last modified time | relevance | path

Searched refs:simd16scalar (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_types.h45 static simd16scalar loadSOA_16(const uint8_t *pSrc) = delete;
46 static void SIMDCALL storeSOA(uint8_t *pDst, simd16scalar const &src) = delete;
47 static simd16scalar unpack(simd16scalar &in) = delete;
48 static simd16scalar pack(simd16scalar &in) = delete;
65 static simd16scalar loadSOA_16(const uint8_t *pSrc) { return _simd16_setzero_ps(); }
66 static void SIMDCALL storeSOA(uint8_t *pDst, simd16scalar const &src) { return; }
67 static simd16scalar unpack(simd16scalar &in) { return _simd16_setzero_ps(); }
68 static simd16scalar pack(simd16scalar &in) { return _simd16_setzero_ps(); }
134 static simd16scalar loadSOA_16(const uint8_t *pSrc)
136 simd16scalar result = _simd16_setzero_ps();
[all …]
Dformat_utils.h134 …d vTranspose4x16(simd16scalar(&dst)[4], const simd16scalar &src0, const simd16scalar &src1, const in vTranspose4x16()
138 simd16scalar pre0 = _simd16_permute_ps(src0, perm); // r in vTranspose4x16()
139 simd16scalar pre1 = _simd16_permute_ps(src1, perm); // g in vTranspose4x16()
140 simd16scalar pre2 = _simd16_permute_ps(src2, perm); // b in vTranspose4x16()
141 simd16scalar pre3 = _simd16_permute_ps(src3, perm); // a in vTranspose4x16()
143 simd16scalar rblo = _simd16_unpacklo_ps(pre0, pre2); in vTranspose4x16()
144 simd16scalar galo = _simd16_unpacklo_ps(pre1, pre3); in vTranspose4x16()
145 simd16scalar rbhi = _simd16_unpackhi_ps(pre0, pre2); in vTranspose4x16()
146 simd16scalar gahi = _simd16_unpackhi_ps(pre1, pre3); in vTranspose4x16()
370 simd16scalar src0 = _simd16_load_ps(reinterpret_cast<const float *>(pSrc)); in Transpose_16()
[all …]
Dformat_conversion.h214simd16scalar vComp = _simd16_load_ps(reinterpret_cast<const float *>(pSrc + comp * sizeof(simd16sc… in LoadSOA()
226 simd16scalar vComp = FormatTraits<SrcFormat>::loadSOA_16(comp, pSrc); in LoadSOA()
252 INLINE simd16scalar SIMDCALL Clamp(simd16scalar const &v, uint32_t Component) in Clamp()
254 simd16scalar vComp = v; in Clamp()
299 INLINE simd16scalar SIMDCALL Normalize(simd16scalar const &vComp, uint32_t Component) in Normalize()
301 simd16scalar r = vComp; in Normalize()
323 simd16scalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)]; in StoreSOA()
334 _simd16_store_ps(reinterpret_cast<float *>(pDst + comp * sizeof(simd16scalar)), vComp); in StoreSOA()
341 simd16scalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)]; in StoreSOA()
Dfrontend.h260 const simd16scalar m00 = _simd16_broadcast_ss(&vpMatrices.m00[0]); in viewportTransform()
261 const simd16scalar m30 = _simd16_broadcast_ss(&vpMatrices.m30[0]); in viewportTransform()
262 const simd16scalar m11 = _simd16_broadcast_ss(&vpMatrices.m11[0]); in viewportTransform()
263 const simd16scalar m31 = _simd16_broadcast_ss(&vpMatrices.m31[0]); in viewportTransform()
264 const simd16scalar m22 = _simd16_broadcast_ss(&vpMatrices.m22[0]); in viewportTransform()
265 const simd16scalar m32 = _simd16_broadcast_ss(&vpMatrices.m32[0]); in viewportTransform()
302 const simd16scalar m00 = _simd16_i32gather_ps(&vpMatrices.m00[0], vViewportIdx, 4); in viewportTransform()
303 const simd16scalar m30 = _simd16_i32gather_ps(&vpMatrices.m30[0], vViewportIdx, 4); in viewportTransform()
304 const simd16scalar m11 = _simd16_i32gather_ps(&vpMatrices.m11[0], vViewportIdx, 4); in viewportTransform()
305 const simd16scalar m31 = _simd16_i32gather_ps(&vpMatrices.m31[0], vViewportIdx, 4); in viewportTransform()
[all …]
Dtilemgr.cpp216 simd16scalar valR = _simd16_broadcast_ss(&pClearData[0]); in ClearColorHotTile()
217 simd16scalar valG = _simd16_broadcast_ss(&pClearData[1]); in ClearColorHotTile()
218 simd16scalar valB = _simd16_broadcast_ss(&pClearData[2]); in ClearColorHotTile()
219 simd16scalar valA = _simd16_broadcast_ss(&pClearData[3]); in ClearColorHotTile()
250 simd16scalar valZ = _simd16_broadcast_ss(&pClearData[0]); in ClearDepthHotTile()
Dpa_avx.cpp777 simd16scalar temp0 = _simd16_blend_ps(_simd16_blend_ps(a[i], b[i], 0x4924), c[i], 0x2492); in PaTriList2_simd16()
778 simd16scalar temp1 = _simd16_blend_ps(_simd16_blend_ps(a[i], b[i], 0x9249), c[i], 0x4924); in PaTriList2_simd16()
779 simd16scalar temp2 = _simd16_blend_ps(_simd16_blend_ps(a[i], b[i], 0x2492), c[i], 0x9249); in PaTriList2_simd16()
1044simd16scalar perm0 = _simd16_permute2f128_ps(a[i], a[i], 0x39); // (0 3 2 1) = 00 11 10 01 // a4 … in PaTriStrip1_simd16()
1045simd16scalar perm1 = _simd16_permute2f128_ps(b[i], b[i], 0x39); // (0 3 2 1) = 00 11 10 01 // b4 … in PaTriStrip1_simd16()
1047simd16scalar blend = _simd16_blend_ps(perm0, perm1, 0xF000); // a4 … in PaTriStrip1_simd16()
1048simd16scalar shuff = _simd16_shuffle_ps(a[i], blend, _MM_SHUFFLE(1, 0, 3, 2)); // a2 … in PaTriStrip1_simd16()
1310simd16scalar shuff = _simd16_shuffle_ps(a[i], a[i], _MM_SHUFFLE(0, 0, 0, 0)); // a0 … in PaTriFan1_simd16()
1314simd16scalar temp0 = _simd16_permute2f128_ps(b[i], b[i], 0x39); // (0 3 2 1) = 00 11 10 01 // b4 … in PaTriFan1_simd16()
1315simd16scalar temp1 = _simd16_permute2f128_ps(c[i], c[i], 0x39); // (0 3 2 1) = 00 11 10 01 // c4 … in PaTriFan1_simd16()
[all …]
Dbackend_clear.cpp87 simd16scalar vComp; in ClearMacroTile()
Dpa.h47 typedef simd16scalar SIMDSCALAR;
708 simd16scalar temp = _simd16_i32gather_ps(pBase, offsets, 1); in Assemble()
1256 simd16scalar temp = _simd16_mask_i32gather_ps( in Assemble()
Dbinner.cpp290 …nsposeVertices(simd4scalar(&dst)[16], const simd16scalar &src0, const simd16scalar &src1, const si… in TransposeVertices()
292 … vTranspose4x16(reinterpret_cast<simd16scalar(&)[4]>(dst), src0, src1, src2, _simd16_setzero_ps()); in TransposeVertices()
Dfrontend.cpp1335 reinterpret_cast<const simd16scalar *>(dsContext.pOutputData), // simd8 -> simd16 in TessellationStages()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DStoreTile.h550 simd16scalar comp = _simd16_load_ps(reinterpret_cast<const float *>(pSrc));
553 const simd16scalar zero = _simd16_setzero_ps();
554 const simd16scalar ones = _simd16_set1_ps(1.0f);
626simd16scalar comp0 = _simd16_load_ps(reinterpret_cast<const float*>(pSrc + FormatTraits<DstFormat>…
627simd16scalar comp1 = _simd16_load_ps(reinterpret_cast<const float*>(pSrc + FormatTraits<DstFormat>…
628simd16scalar comp2 = _simd16_load_ps(reinterpret_cast<const float*>(pSrc + FormatTraits<DstFormat>…
629simd16scalar comp3 = _simd16_load_ps(reinterpret_cast<const float*>(pSrc + FormatTraits<DstFormat>…
632 const simd16scalar zero = _simd16_setzero_ps();
633 const simd16scalar ones = _simd16_set1_ps(1.0f);
798simd16scalar comp0 = _simd16_load_ps(reinterpret_cast<const float*>(pSrc + FormatTraits<DstFormat>…
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dintrin.h44 typedef SIMDImpl::SIMD512Impl::Float simd16scalar; typedef