| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/common/ |
| simdlib_interface.hpp | 37 using Integer = __m256i; // Packed integer vector (mutable element widths) 38 using Mask = uint8_t; // Integer representing mask bits 61 TO_NEAREST_INT = 0x00, // Round to nearest integer == TRUNCATE(value + (signof(value))0.5) 91 // Integer (various width) arithmetic operations 93 static Integer abs_epi32(Integer a); // return absolute_value(a) (int32) 94 static Integer add_epi32(Integer a, Integer b); // return a + b (int32 [all...] |
| simdlib_128_avx2.inl | 41 static SIMDINLINE Integer SIMDCALL sllv_epi32(Integer vA, Integer vB) // return a << b (uint32) 46 static SIMDINLINE Integer SIMDCALL srlv_epi32(Integer vA, Integer vB) // return a >> b (uint32) 53 i32gather_ps(float const* p, Integer idx) // return *(float*)(((int8*)p) + (idx * ScaleT)) 61 mask_i32gather_ps(Float old, float const* p, Integer idx, Float mask)
|
| simdlib_256_avx2.inl | 32 // Mostly these are integer operations that are no longer emulated with SSE 36 static SIMDINLINE Integer SIMDCALL op(Integer const& a) { return _mm256_##op(a); } 39 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 46 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 53 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 59 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) [all...] |
| simdlib_256_avx.inl | 69 static SIMDINLINE Integer SIMDCALL op(Integer const& a) { return _mm256_##op(a); } 72 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \ 78 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \ 85 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) [all...] |
| simdlib_128_avx.inl | 58 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm_##op(a); } 62 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 69 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return intrin(a, b); } 72 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm_##op(a, b); [all...] |
| simdlib_512_avx512_core.inl | 71 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm512_##op(a); } 73 static SIMDINLINE Integer SIMDCALL op(SIMD256Impl::Integer a) { return _mm512_##op(a); } 76 static SIMDINLINE Integer SIMDCALL op(SIMD128Impl::Integer a) { return _mm512_##op(a); } 80 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 87 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm512_##intrin(a, b); [all...] |
| simdlib_512_avx512_knights.inl | 71 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm512_##op(a); } 73 static SIMDINLINE Integer SIMDCALL op(SIMD256Impl::Integer a) { return _mm512_##op(a); } 76 static SIMDINLINE Integer SIMDCALL op(SIMD128Impl::Integer a) { return _mm512_##op(a); } 80 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 87 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm512_##intrin(a, b); [all...] |
| simdlib_512_avx512.inl | 91 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm512_##op(a); } 93 static SIMDINLINE Integer SIMDCALL op(SIMD256Impl::Integer a) { return _mm512_##op(a); } 96 static SIMDINLINE Integer SIMDCALL op(SIMD128Impl::Integer a) { return _mm512_##op(a); } 100 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 107 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm512_##intrin(a, b); [all...] |
| simdlib_512_emu.inl | 82 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 84 return Integer{ \ 91 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \ 93 return Integer{ \ 101 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) [all...] |
| simdlib_types.hpp | 114 TO_NEAREST_INT = 0x00, // Round to nearest integer == TRUNCATE(value + 0.5) 143 template <typename Float, typename Integer, typename Double> 147 Integer vi[4]; 189 union Integer 191 SIMDINLINE Integer() = default; 192 SIMDINLINE Integer(__m128i in) : v(in) {} 193 SIMDINLINE Integer& SIMDCALL operator=(__m128i in) 198 SIMDINLINE Integer& SIMDCALL operator=(Integer const& in) 227 using Vec4 = SIMDImpl::Vec4<Float, Integer, Double> [all...] |
| simdlib_128_avx512.inl | 45 static SIMDINLINE __m512i __conv(Integer r) 57 static SIMDINLINE Integer __conv(__m512i r) 107 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 115 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 122 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) \ 130 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) [all...] |
| simdlib_256_avx512.inl | 45 static SIMDINLINE __m512i __conv(Integer r) 57 static SIMDINLINE Integer __conv(__m512i r) 107 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 115 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 122 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) \ 130 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/common/ |
| simdlib_interface.hpp | 37 using Integer = __m256i; // Packed integer vector (mutable element widths) 38 using Mask = uint8_t; // Integer representing mask bits 61 TO_NEAREST_INT = 0x00, // Round to nearest integer == TRUNCATE(value + (signof(value))0.5) 91 // Integer (various width) arithmetic operations 93 static Integer abs_epi32(Integer a); // return absolute_value(a) (int32) 94 static Integer add_epi32(Integer a, Integer b); // return a + b (int32 [all...] |
| simdlib_128_avx2.inl | 41 static SIMDINLINE Integer SIMDCALL sllv_epi32(Integer vA, Integer vB) // return a << b (uint32) 46 static SIMDINLINE Integer SIMDCALL srlv_epi32(Integer vA, Integer vB) // return a >> b (uint32) 53 i32gather_ps(float const* p, Integer idx) // return *(float*)(((int8*)p) + (idx * ScaleT)) 61 mask_i32gather_ps(Float old, float const* p, Integer idx, Float mask)
|
| simdlib_256_avx2.inl | 32 // Mostly these are integer operations that are no longer emulated with SSE 36 static SIMDINLINE Integer SIMDCALL op(Integer const& a) { return _mm256_##op(a); } 39 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 46 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 53 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 59 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) [all...] |
| simdlib_256_avx.inl | 69 static SIMDINLINE Integer SIMDCALL op(Integer const& a) { return _mm256_##op(a); } 72 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \ 78 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \ 85 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) [all...] |
| simdlib_128_avx.inl | 58 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm_##op(a); } 62 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 69 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return intrin(a, b); } 72 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm_##op(a, b); [all...] |
| simdlib_512_avx512_core.inl | 71 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm512_##op(a); } 73 static SIMDINLINE Integer SIMDCALL op(SIMD256Impl::Integer a) { return _mm512_##op(a); } 76 static SIMDINLINE Integer SIMDCALL op(SIMD128Impl::Integer a) { return _mm512_##op(a); } 80 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 87 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm512_##intrin(a, b); [all...] |
| simdlib_512_avx512_knights.inl | 71 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm512_##op(a); } 73 static SIMDINLINE Integer SIMDCALL op(SIMD256Impl::Integer a) { return _mm512_##op(a); } 76 static SIMDINLINE Integer SIMDCALL op(SIMD128Impl::Integer a) { return _mm512_##op(a); } 80 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 87 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm512_##intrin(a, b); [all...] |
| simdlib_512_avx512.inl | 91 static SIMDINLINE Integer SIMDCALL op(Integer a) { return _mm512_##op(a); } 93 static SIMDINLINE Integer SIMDCALL op(SIMD256Impl::Integer a) { return _mm512_##op(a); } 96 static SIMDINLINE Integer SIMDCALL op(SIMD128Impl::Integer a) { return _mm512_##op(a); } 100 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 107 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) { return _mm512_##intrin(a, b); [all...] |
| simdlib_512_emu.inl | 82 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \ 84 return Integer{ \ 91 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \ 93 return Integer{ \ 101 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) [all...] |
| simdlib_types.hpp | 114 TO_NEAREST_INT = 0x00, // Round to nearest integer == TRUNCATE(value + 0.5) 143 template <typename Float, typename Integer, typename Double> 147 Integer vi[4]; 189 union Integer 191 SIMDINLINE Integer() = default; 192 SIMDINLINE Integer(__m128i in) : v(in) {} 193 SIMDINLINE Integer& SIMDCALL operator=(__m128i in) 198 SIMDINLINE Integer& SIMDCALL operator=(Integer const& in) 227 using Vec4 = SIMDImpl::Vec4<Float, Integer, Double> [all...] |
| simdlib_128_avx512.inl | 45 static SIMDINLINE __m512i __conv(Integer r) 57 static SIMDINLINE Integer __conv(__m512i r) 107 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 115 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 122 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) \ 130 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) [all...] |
| simdlib_256_avx512.inl | 45 static SIMDINLINE __m512i __conv(Integer r) 57 static SIMDINLINE Integer __conv(__m512i r) 107 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 115 static SIMDINLINE Integer SIMDCALL op(Integer a) \ 122 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) \ 130 static SIMDINLINE Integer SIMDCALL op(Integer a, Integer b) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/ |
| Scatter.cpp | 34 extern "C" void ScatterPS_256(uint8_t* pBase, SIMD256::Integer vIndices, SIMD256::Float vSrc, uint8_t mask, uint32_t scale) 40 SIMD256::store_si((SIMD256::Integer*)indices, vIndices);
|