mirror of
https://github.com/microsoft/DirectXMath
synced 2024-11-09 14:10:09 +00:00
Prefer use of shuffle to permute for non-Intel processors
This commit is contained in:
parent
bdb574c97e
commit
5008416aba
@ -158,7 +158,7 @@
|
||||
#define XM_SFENCE() _mm_sfence()
|
||||
#endif
|
||||
|
||||
#if defined(_XM_AVX_INTRINSICS_)
|
||||
#if defined(_XM_AVX_INTRINSICS_) && defined(_XM_FAVOR_INTEL_)
|
||||
#define XM_PERMUTE_PS( v, c ) _mm_permute_ps( v, c )
|
||||
#else
|
||||
#define XM_PERMUTE_PS( v, c ) _mm_shuffle_ps( v, v, c )
|
||||
|
Loading…
Reference in New Issue
Block a user