Method mm256_mask_i64gather_epi64
mm256_mask_i64gather_epi64(v256, void*, v256, v256, int)
Gather 64-bit integers from memory using 64-bit indices. 64-bit elements are loaded from addresses starting at base_addr and offset by each 64-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_i64gather_epi64(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 |
int | scale | Index scale |
Returns
Type | Description |
---|---|
v256 | Vector |