Home
last modified time | relevance | path

Searched refs:SIMD (Results 1 – 25 of 5010) sorted by relevance

12345678910>>...201

/dports/cad/netgen/netgen-6.2.2105/libsrc/core/
H A Dsimd_avx.hpp80 SIMD (const SIMD &) = default;
88 SIMD (SIMD<int64_t,2> v0, SIMD<int64_t,2> v1) in SIMD() function in ngcore::SIMD
118 SIMD (const SIMD &) = default;
125 SIMD (SIMD<double,2> v0, SIMD<double,2> v1) : SIMD(v0[0], v0[1], v1[0], v1[1]) { ; } in SIMD() function in ngcore::SIMD
179 NETGEN_INLINE SIMD<double,4> FMA (SIMD<double,4> a, SIMD<double,4> b, SIMD<double,4> c) in FMA()
187 NETGEN_INLINE SIMD<double,4> FNMA (SIMD<double,4> a, SIMD<double,4> b, SIMD<double,4> c) in FNMA()
262 NETGEN_INLINE SIMD<double,4> If (SIMD<mask64,4> a, SIMD<double,4> b, SIMD<double,4> c) in If()
265 NETGEN_INLINE SIMD<double,4> IfPos (SIMD<double,4> a, SIMD<double,4> b, SIMD<double,4> c) in IfPos()
271 NETGEN_INLINE SIMD<double,4> IfZero (SIMD<double,4> a, SIMD<double,4> b, SIMD<double,4> c) in IfZero()
291 …NETGEN_INLINE auto HSum (SIMD<double,4> v1, SIMD<double,4> v2, SIMD<double,4> v3, SIMD<double,4> v… in HSum()
[all …]
H A Dsimd_avx512.hpp49 SIMD (const SIMD &) = default;
50 SIMD & operator= (const SIMD &) = default;
74 NETGEN_INLINE SIMD<int64_t,8> If (SIMD<mask64,8> a, SIMD<int64_t,8> b, SIMD<int64_t,8> c) in If()
85 SIMD (const SIMD &) = default;
149 NETGEN_INLINE SIMD<mask64,8> operator< (SIMD<double,8> a , SIMD<double,8> b) in operator <()
180 NETGEN_INLINE SIMD<double,8> If (SIMD<mask64,8> a, SIMD<double,8> b, SIMD<double,8> c) in If()
183 NETGEN_INLINE SIMD<double,8> IfPos (SIMD<double,8> a, SIMD<double> b, SIMD<double> c) in IfPos()
188 NETGEN_INLINE SIMD<double,8> IfZero (SIMD<double,8> a, SIMD<double,8> b, SIMD<double,8> c) in IfZero()
214 …NETGEN_INLINE SIMD<double,4> HSum (SIMD<double,8> v1, SIMD<double,8> v2, SIMD<double,8> v3, SIMD<d… in HSum()
229 NETGEN_INLINE SIMD<double,8> FMA (SIMD<double,8> a, SIMD<double,8> b, SIMD<double,8> c) in FMA()
[all …]
H A Dsimd_sse.hpp49 SIMD (const SIMD &) = default;
55 SIMD & operator= (const SIMD &) = default;
87 SIMD (const SIMD &) = default;
194 NETGEN_INLINE SIMD<mask64,2> operator< (SIMD<double,2> a , SIMD<double,2> b) in operator <()
198 NETGEN_INLINE SIMD<mask64,2> operator> (SIMD<double,2> a , SIMD<double,2> b) in operator >()
220 NETGEN_INLINE SIMD<mask64,2> operator&& (SIMD<mask64,2> a, SIMD<mask64,2> b) in operator &&()
227 NETGEN_INLINE SIMD<double,2> If (SIMD<mask64,2> a, SIMD<double,2> b, SIMD<double,2> c) in If()
230 NETGEN_INLINE SIMD<double,2> If (SIMD<mask64,2> a, SIMD<double,2> b, SIMD<double,2> c) in If()
238 NETGEN_INLINE SIMD<double,2> IfPos (SIMD<double,2> a, SIMD<double,2> b, SIMD<double,2> c) in IfPos()
240 NETGEN_INLINE SIMD<double,2> IfZero (SIMD<double,2> a, SIMD<double,2> b, SIMD<double,2> c) in IfZero()
[all …]
H A Dsimd_generic.hpp105 SIMD (const SIMD &) = default;
138 SIMD (const SIMD &) = default;
204 SIMD (const SIMD &) = default;
254 SIMD (const SIMD &) = default;
339 NETGEN_INLINE SIMD<T,N> operator+ (SIMD<T,N> a, SIMD<T,N> b) { in operator +()
345 NETGEN_INLINE SIMD<T,N> operator- (SIMD<T,N> a, SIMD<T,N> b) { in operator -()
356 NETGEN_INLINE SIMD<T,N> operator* (SIMD<T,N> a, SIMD<T,N> b) { in operator *()
362 NETGEN_INLINE SIMD<T,N> operator/ (SIMD<T,N> a, SIMD<T,N> b) { in operator /()
493 NETGEN_INLINE SIMD<T,N> IfPos (SIMD<T,N> a, SIMD<T,N> b, SIMD<T,N> c) in IfPos()
501 NETGEN_INLINE SIMD<T,N> IfZero (SIMD<T,N> a, SIMD<T,N> b, SIMD<T,N> c) in IfZero()
[all …]
H A Dsimd_arm64.hpp18 SIMD (SIMD<mask64,1> i0, SIMD<mask64,1> i1) { mask[0] = i0[0]; mask[1] = i1[0]; } in SIMD() function in ngcore::SIMD
41 SIMD (const SIMD &) = default;
46 SIMD & operator= (const SIMD &) = default;
116 NETGEN_INLINE SIMD<double,2> HSum (SIMD<double,2> a, SIMD<double,2> b) in HSum()
124 NETGEN_INLINE SIMD<double,2> FMA (SIMD<double,2> a, SIMD<double,2> b, SIMD<double,2> c) in FMA()
133 NETGEN_INLINE SIMD<double,2> FNMA (SIMD<double,2> a, SIMD<double,2> b, SIMD<double,2> c) in FNMA()
143 NETGEN_INLINE SIMD<double,2> operator+ (SIMD<double,2> a, SIMD<double,2> b) in operator +()
146 NETGEN_INLINE SIMD<double,2> operator- (SIMD<double,2> a, SIMD<double,2> b) in operator -()
151 NETGEN_INLINE SIMD<double,2> operator* (SIMD<double,2> a, SIMD<double,2> b) in operator *()
159 NETGEN_INLINE SIMD<double,2> If (SIMD<mask64,2> a, SIMD<double,2> b, SIMD<double,2> c) in If()
[all …]
H A Dsimd.hpp36 …NETGEN_INLINE auto HSum (SIMD<double,2> v1, SIMD<double,2> v2, SIMD<double,2> v3, SIMD<double,2> v… in HSum()
40 return SIMD<double,4> (hsum1, hsum2); in HSum()
45 return SIMD<mask64>::GetMaskFromBits(i); in GetMaskFromBits()
50 …NETGEN_INLINE void SIMDTranspose (SIMD<double,4> a1, SIMD<double,4> a2, SIMD <double,4> a3, SIMD<d… in SIMDTranspose()
51SIMD<double,4> & b1, SIMD<double,4> & b2, SIMD<double,4> & b3, SIMD<double,4> & b4) in SIMDTranspose()
53 SIMD<double,4> h1,h2,h3,h4; in SIMDTranspose()
56 b1 = SIMD<double,4> (h1.Lo(), h3.Lo()); in SIMDTranspose()
57 b2 = SIMD<double,4> (h2.Lo(), h4.Lo()); in SIMDTranspose()
58 b3 = SIMD<double,4> (h1.Hi(), h3.Hi()); in SIMDTranspose()
63 NETGEN_INLINE auto HSum (SIMD<double,N> s1, SIMD<double,N> s2) in HSum()
[all …]
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/common/
H A Dsimdintrin.h31 typedef SIMD256 SIMD; typedef
48 #define _simd_mul_ps SIMD::mul_ps
49 #define _simd_add_ps SIMD::add_ps
50 #define _simd_sub_ps SIMD::sub_ps
52 #define _simd_min_ps SIMD::min_ps
64 #define _simd_cmp_ps(a, b, imm) SIMD::cmp_ps<SIMD::CompareType(imm)>(a, b)
66 #define _simd_or_ps SIMD::or_ps
73 #define _simd_round_ps(a, i) SIMD::round_ps<SIMD::RoundMode(i)>(a)
95 #define _simd_or_si SIMD::or_si
132 #define _simd_i32gather_ps(p, o, s) SIMD::i32gather_ps<SIMD::ScaleFactor(s)>(p, o)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/Pipeline/
H A DSpirvShaderImage.cpp76 sw::SIMD::Float sRGBtoLinear(sw::SIMD::Float c) in sRGBtoLinear()
79 …sw::SIMD::Float ec = sw::power((c + sw::SIMD::Float(0.055f)) * sw::SIMD::Float(1.0f / 1.055f), sw:… in sRGBtoLinear()
304 in[i] = As<SIMD::Float>(SIMD::Int(0)); in EmitImageSampleUnconditional()
503 SIMD::Int v = SIMD::Int(0); in GetTexelAddress()
573 SIMD::Int oobMask = As<SIMD::Int>(CmpNLT(As<SIMD::UInt>(u), width)); in GetTexelAddress()
585 oobMask |= As<SIMD::Int>(CmpNLT(As<SIMD::UInt>(w), SIMD::UInt(depth))); in GetTexelAddress()
1154 …packed[0] = (SIMD::Int(Round(Min(Max(texel.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIM… in EmitImageWrite()
1156 …packed[1] = (SIMD::Int(Round(Min(Max(texel.Float(2), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIM… in EmitImageWrite()
1161 …packed[0] = (SIMD::Int(Round(Min(Max(texel.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIM… in EmitImageWrite()
1166 …packed[0] = (SIMD::Int(Round(Min(Max(texel.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIM… in EmitImageWrite()
[all …]
H A DSpirvShaderGLSLstd450.cpp115 …dst.move(i, x + ((SIMD::Float(CmpLT(x, src.Float(i)) & SIMD::Int(1)) * SIMD::Float(2.0f)) - SIMD::… in EmitExtGLSLstd450()
116SIMD::Float(CmpEQ(Frac(src.Float(i)), SIMD::Float(0.5f)) & SIMD::Int(1)) * SIMD::Float(Int4(x) & S… in EmitExtGLSLstd450()
254 …auto neg = As<SIMD::Int>(CmpLT(src.Float(i), SIMD::Float(-0.0f))) & As<SIMD::Int>(SIMD::Float(-1.0… in EmitExtGLSLstd450()
255 …auto pos = As<SIMD::Int>(CmpNLE(src.Float(i), SIMD::Float(+0.0f))) & As<SIMD::Int>(SIMD::Float(1.0… in EmitExtGLSLstd450()
308 SIMD::Int neg = CmpLT(d, SIMD::Float(0.0f)); in EmitExtGLSLstd450()
385 …dst.move(0, (SIMD::Int(Round(Min(Max(val.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
387 …((SIMD::Int(Round(Min(Max(val.Float(1), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD::Float(127.… in EmitExtGLSLstd450()
401 …dst.move(0, (SIMD::UInt(Round(Min(Max(val.Float(0), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
410 …dst.move(0, (SIMD::Int(Round(Min(Max(val.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
420 …dst.move(0, (SIMD::UInt(Round(Min(Max(val.Float(0), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
[all …]
H A DSpirvShaderGroup.cpp43 SIMD::UInt v_uint = (value.UInt(i) & mask) | (As<SIMD::UInt>(identity) & ~mask); in BinaryOperation()
128 SIMD::UInt filled = v; in EmitGroupNonUniform()
187 auto bit = (value.Int(0) >> SIMD::Int(0, 1, 2, 3)) & SIMD::Int(1); in EmitGroupNonUniform()
251 dst.move(0, SIMD::UInt(31) - Ctlz(value.UInt(0) & SIMD::UInt(15), false)); in EmitGroupNonUniform()
275 auto x = CmpEQ(SIMD::Int(0), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
276 auto y = CmpEQ(SIMD::Int(1), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
277 auto z = CmpEQ(SIMD::Int(2), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
278 auto w = CmpEQ(SIMD::Int(3), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
401 SIMD::UInt zero = SIMD::UInt(0); in EmitGroupNonUniform()
410 SIMD::UInt zero = SIMD::UInt(0); in EmitGroupNonUniform()
[all …]
H A DShaderCore.hpp90 namespace SIMD { namespace
223 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
270 rr::RValue<sw::SIMD::Float> NMin(rr::RValue<sw::SIMD::Float> const &x, rr::RValue<sw::SIMD::Float> …
275 rr::RValue<sw::SIMD::Float> NMax(rr::RValue<sw::SIMD::Float> const &x, rr::RValue<sw::SIMD::Float> …
290 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
291 …rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::Float> const &f, rr::RValue<sw::SIMD::F…
292 …rr::RValue<sw::SIMD::Float> const &i, rr::RValue<sw::SIMD::Float> const &j, rr::RValue<sw::SIMD::F…
293 …rr::RValue<sw::SIMD::Float> const &m, rr::RValue<sw::SIMD::Float> const &n, rr::RValue<sw::SIMD::F…
308 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
309 …rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::Float> const &f, rr::RValue<sw::SIMD::F…
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/Pipeline/
H A DSpirvShaderImage.cpp56 sw::SIMD::Float sRGBtoLinear(sw::SIMD::Float c) in sRGBtoLinear()
59 …sw::SIMD::Float ec = sw::power((c + sw::SIMD::Float(0.055f)) * sw::SIMD::Float(1.0f / 1.055f), sw:… in sRGBtoLinear()
271 in[i] = As<SIMD::Float>(SIMD::Int(0)); in EmitImageSample()
488 SIMD::Int v = SIMD::Int(0); in GetTexelAddress()
672 …ove(0, Min(Max(SIMD::Float(((packed[0] << 24) & SIMD::Int(0xFF000000))) * SIMD::Float(1.0f / float… in EmitImageRead()
674 …ove(2, Min(Max(SIMD::Float(((packed[0] << 8) & SIMD::Int(0xFF000000))) * SIMD::Float(1.0f / float(… in EmitImageRead()
675 …t.move(3, Min(Max(SIMD::Float(((packed[0]) & SIMD::Int(0xFF000000))) * SIMD::Float(1.0f / float(0x… in EmitImageRead()
898 …packed[0] = (SIMD::Int(Round(Min(Max(texel.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIM… in EmitImageWrite()
929 …packed[0] = SIMD::UInt(texel.UInt(0) & SIMD::UInt(0xffff)) | (SIMD::UInt(texel.UInt(1) & SIMD::UIn… in EmitImageWrite()
930 …packed[1] = SIMD::UInt(texel.UInt(2) & SIMD::UInt(0xffff)) | (SIMD::UInt(texel.UInt(3) & SIMD::UIn… in EmitImageWrite()
[all …]
H A DSpirvShaderGLSLstd450.cpp115 …dst.move(i, x + ((SIMD::Float(CmpLT(x, src.Float(i)) & SIMD::Int(1)) * SIMD::Float(2.0f)) - SIMD::… in EmitExtGLSLstd450()
116SIMD::Float(CmpEQ(Frac(src.Float(i)), SIMD::Float(0.5f)) & SIMD::Int(1)) * SIMD::Float(Int4(x) & S… in EmitExtGLSLstd450()
254 …auto neg = As<SIMD::Int>(CmpLT(src.Float(i), SIMD::Float(-0.0f))) & As<SIMD::Int>(SIMD::Float(-1.0… in EmitExtGLSLstd450()
255 …auto pos = As<SIMD::Int>(CmpNLE(src.Float(i), SIMD::Float(+0.0f))) & As<SIMD::Int>(SIMD::Float(1.0… in EmitExtGLSLstd450()
308 SIMD::Int neg = CmpLT(d, SIMD::Float(0.0f)); in EmitExtGLSLstd450()
395 …dst.move(0, (SIMD::Int(Round(Min(Max(val.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
397 …((SIMD::Int(Round(Min(Max(val.Float(1), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD::Float(127.… in EmitExtGLSLstd450()
411 …dst.move(0, (SIMD::UInt(Round(Min(Max(val.Float(0), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
420 …dst.move(0, (SIMD::Int(Round(Min(Max(val.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
430 …dst.move(0, (SIMD::UInt(Round(Min(Max(val.Float(0), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
[all …]
H A DSpirvShaderGroup.cpp43 SIMD::UInt v_uint = (value.UInt(i) & mask) | (As<SIMD::UInt>(identity) & ~mask); in BinaryOperation()
123 SIMD::UInt active = As<SIMD::UInt>(state->activeLaneMask()); in EmitGroupNonUniform()
187 auto bit = (value.Int(0) >> SIMD::Int(0, 1, 2, 3)) & SIMD::Int(1); in EmitGroupNonUniform()
251 dst.move(0, SIMD::UInt(31) - Ctlz(value.UInt(0) & SIMD::UInt(15), false)); in EmitGroupNonUniform()
275 auto x = CmpEQ(SIMD::Int(0), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
276 auto y = CmpEQ(SIMD::Int(1), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
277 auto z = CmpEQ(SIMD::Int(2), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
278 auto w = CmpEQ(SIMD::Int(3), SIMD::Int(0, 1, 2, 3) ^ mask.Int(0)); in EmitGroupNonUniform()
401 SIMD::UInt zero = SIMD::UInt(0); in EmitGroupNonUniform()
410 SIMD::UInt zero = SIMD::UInt(0); in EmitGroupNonUniform()
[all …]
H A DShaderCore.hpp74 namespace SIMD { namespace
207 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
254 rr::RValue<sw::SIMD::Float> NMin(rr::RValue<sw::SIMD::Float> const &x, rr::RValue<sw::SIMD::Float> …
259 rr::RValue<sw::SIMD::Float> NMax(rr::RValue<sw::SIMD::Float> const &x, rr::RValue<sw::SIMD::Float> …
274 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
275 …rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::Float> const &f, rr::RValue<sw::SIMD::F…
276 …rr::RValue<sw::SIMD::Float> const &i, rr::RValue<sw::SIMD::Float> const &j, rr::RValue<sw::SIMD::F…
277 …rr::RValue<sw::SIMD::Float> const &m, rr::RValue<sw::SIMD::Float> const &n, rr::RValue<sw::SIMD::F…
292 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
293 …rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::Float> const &f, rr::RValue<sw::SIMD::F…
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/plugins/
H A DMulAddUGens.cpp178 next_ia<SIMD>(inNumSamples); in next_ka()
194 next_ki<SIMD>(inNumSamples); in next_kk()
201 next_ii<SIMD>(inNumSamples); in next_ki()
206 next_0a<SIMD>(inNumSamples); in next_ia()
208 next_1a<SIMD>(inNumSamples); in next_ia()
254 …template <int SIMD> void next_0a(int inNumSamples) { copy_vec<SIMD>(out(0), in(2), inNumSamples); } in next_0a()
263 … template <int SIMD> void next_0i(int inNumSamples) { set_vec<SIMD>(out(0), mAdd, inNumSamples); } in next_0i()
283 …template <int SIMD> void next_10(int inNumSamples) { copy_vec<SIMD>(out(0), in(0), inNumSamples); } in next_10()
285 template <int SIMD> void next_00(int inNumSamples) { set_vec<SIMD>(out(0), 0.f, inNumSamples); } in next_00()
348 if (SIMD) in sum_vec()
[all …]

12345678910>>...201