mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 12:32:40 +00:00
simd128: inline _mm_shuffle_ps for glmm_shuff1
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
(((__mask) >> 4) & 0x3) + 4, \
|
||||
(((__mask) >> 6) & 0x3) + 4))
|
||||
|
||||
#define glmm_shuff1(xmm, z, y, x, w) _mm_shuffle_ps(xmm, xmm, _MM_SHUFFLE(z, y, x, w))
|
||||
#define glmm_shuff1(xmm, z, y, x, w) wasm_i32x4_shuffle(xmm, xmm, w, x, y, z)
|
||||
|
||||
#define glmm_splat(x, lane) glmm_shuff1(x, lane, lane, lane, lane)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user