Version

menu_open

◆ AKSIMD_GATHER_EPI32()

template<typename T , typename Function >
AKSIMD_V8I32 AKSIMD_GATHER_EPI32 ( const T *__restrict  base_ptr,
Function  expr 
)
inline

To use these, provide a base_ptr, and an expression that calculates an array index for the provided base_ptr. The expression can be a lambda, such as follows: AKSIMD_V8I32 viData = AKSIMD_GATHER_EPI32(src, [uIndex, uStep](int i) { return (uIndex + uStep * i); }); This tends to perform better than a native VGATHER on most CPUs

Definition at line 214 of file AkSimdAvx2.h.

References _GATHER_SIM_FETCH.

Referenced by AKSIMD_GATHER_PS().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise