Method mm256_mask_i32gather_epi32
mm256_mask_i32gather_epi32(v256, Void*, v256, v256, Int32)
Gather 32-bit integers 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.
Declaration
public static v256 mm256_mask_i32gather_epi32(v256 src, void *base_addr, v256 vindex, v256 mask, int scale)
Parameters
Type | Name | Description |
---|---|---|
v256 | src | Source |
Void* | base_addr | Base address |
v256 | vindex | Offset |
v256 | mask | Mask |
Int32 | scale | Index scale |
Returns
Type | Description |
---|---|
v256 | Vector |