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

X86.Avx2.mm256_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 v256 mm256_i32gather_ps(void* base_addr, v256 vindex, int scale);

Parameters

Parameter Description
base_addr Base address
vindex Offset
scale Index scale

Returns

v256 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 using mask (elements are copied from src when the highest bit is not set in the corresponding element). scale should be 1, 2, 4 or 8.