vgatherdps

Gather Packed Single Precision

VGATHERDPS ymm1, [base+ymm_idx*scale], ymm_mask

Loads floats from non-contiguous memory using indices.

Details

The Gather Packed Single Precision instruction loads floats from non-contiguous memory using indices.

Pseudocode Operation

// Loads floats from non-contiguous memory using indices

Example

VGATHERDPS ymm1, [base+ymm_idx*scale], ymm_mask

Encoding

Binary Layout
VEX
+0
opcode
+3
ModRM
+4
 
Format VEX
Opcode C4 ... 92
Extension AVX2

Operands

  • dest
    256-bit YMM AVX register
  • src1
    AVX scatter: base register + scaled YMM vector index
  • src2
    YMM register acting as gather/scatter mask and result destination