Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

X86.Avx2.i32gather_ps

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static v128 i32gather_ps(void* base_addr, v128 vindex, int scale);

Parameters

Parameter Description
base_addr Base address
vindex Offset
scale Index scale

Returns

v128 Vector

Description

Gather single-precision (32-bit) floating-point elements from memory using 32-bit indices. 32-bit elements are loaded from addresses starting at base_addr and offset by each 32-bit element in vindex (each index is scaled by the factor in scale). Gathered elements are merged into dst. scale should be 1, 2, 4 or 8.