Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.

◆ 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