Method mm256_mask_i32gather_epi64
mm256_mask_i32gather_epi64(v256, void*, v128, v256, int)
Gather 64-bit integers from memory using 32-bit indices. 64-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_epi64(v256 src, void* base_addr, v128 vindex, v256 mask, int scale)
Parameters
Type | Name | Description |
---|---|---|
v256 | src | Source |
void* | base_addr | Base address |
v128 | vindex | Offset |
v256 | mask | Mask |
int | scale | Index scale |
Returns
Type | Description |
---|---|
v256 | Vector |