Wwise SDK 2022.1.18
|
◆ AKSIMD_GATHER_EPI32()
template<typename T , typename Function >
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 在文件 AkSimdAvx2.h 第 201 行定义. 引用了 _GATHER_SIM_FETCH. 被这些函数引用 AKSIMD_GATHER_PS(). |