Instruction
VPGATHERDQ
Loads quadwords from memory at addresses formed with a vector of 32-bit indices, for the elements a mask selects.
- Extensions
- Forms
- 5 (2 VEX, 3 EVEX)
- Data
- Intel XED v2026.08.23
Forms
| Instruction | Encoding | Requires |
|---|---|---|
VPGATHERDQ ymm, vm32x, ymm
VPGATHERDQ_YMMu64_MEMq_YMMi64_VL256 | VEX.256.66.0F38.W1 90 /r | AVX2 |
VPGATHERDQ xmm, vm32x, xmm
VPGATHERDQ_XMMu64_MEMq_XMMi64_VL128 | VEX.128.66.0F38.W1 90 /r | AVX2 |
VPGATHERDQ zmm {k}, vm32y
VPGATHERDQ_ZMMu64_MASKmskw_MEMu64_AVX512_VL512 | EVEX.512.66.0F38.W1 90 /r | AVX10.1 or AVX512F |
VPGATHERDQ xmm {k}, vm32x
VPGATHERDQ_XMMu64_MASKmskw_MEMu64_AVX512_VL128 | EVEX.128.66.0F38.W1 90 /r | AVX10.1 or AVX512F + AVX512VL |
VPGATHERDQ ymm {k}, vm32x
VPGATHERDQ_YMMu64_MASKmskw_MEMu64_AVX512_VL256 | EVEX.256.66.0F38.W1 90 /r | AVX10.1 or AVX512F + AVX512VL |
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VPGATHERDQ, each with the form it compiles to and the Clang options it needs. The forms come from compiling every intrinsic and decoding the result with Intel XED; all intrinsics A–Z explains the method.
| Intrinsic | Compiles to |
|---|---|
_mm_i32gather_epi64
__m128i _mm_i32gather_epi64(long long const *m, __m128i i, const int s) |
|
_mm_mask_i32gather_epi64
__m128i _mm_mask_i32gather_epi64(__m128i a, long long const *m, __m128i i, __m128i mask, const int s) |
|
_mm_mmask_i32gather_epi64
__m128i _mm_mmask_i32gather_epi64(__m128i v1_old, __mmask8 mask, __m128i index, void const *addr, const int scale) |
|
_mm256_i32gather_epi64
__m256i _mm256_i32gather_epi64(long long const *m, __m128i i, const int s) |
|
_mm256_mask_i32gather_epi64
__m256i _mm256_mask_i32gather_epi64(__m256i a, long long const *m, __m128i i, __m256i mask, const int s) |
|
_mm256_mmask_i32gather_epi64
__m256i _mm256_mmask_i32gather_epi64(__m256i v1_old, __mmask8 mask, __m128i index, void const *addr, const int scale) |
|
_mm512_i32gather_epi64
__m512i _mm512_i32gather_epi64(__m256i index, void const *addr, const int scale) |
|
_mm512_mask_i32gather_epi64
__m512i _mm512_mask_i32gather_epi64(__m512i v1_old, __mmask8 mask, __m256i index, void const *addr, const int scale) |
|
_mm512_i32logather_epi64
__m512i _mm512_i32logather_epi64(__m512i vindex, void const *base_addr, const int scale) |
|
_mm512_mask_i32logather_epi64
__m512i _mm512_mask_i32logather_epi64(__m512i src, __mmask8 mask, __m512i vindex, void const *base_addr, const int scale) |
|
CPUID and processors
Each form belongs to an XED ISA set. A form can be used when the processor reports every CPUID bit of one of its ISA set's alternatives.
More AVX10.1 instructions
- VPERMILPS
- VPERMPD
- VPERMPS
- VPERMQ
- VPERMT2B
- VPERMT2D
- VPERMT2PD
- VPERMT2PS
- VPERMT2Q
- VPERMT2W
- VPERMW
- VPEXPANDB
- VPEXPANDD
- VPEXPANDQ
- VPEXPANDW
- VPEXTRB
- VPEXTRD
- VPEXTRQ
- VPEXTRW
- VPGATHERDD
- VPGATHERQD
- VPGATHERQQ
- VPINSRB
- VPINSRD
- VPINSRQ
- VPINSRW
- VPLZCNTD
- VPLZCNTQ
- VPMADD52HUQ
- VPMADD52LUQ
- VPMADDUBSW
- VPMADDWD
- VPMAXSB
- VPMAXSD
- VPMAXSQ
- VPMAXSW
- VPMAXUB
- VPMAXUD
- VPMAXUQ
- VPMAXUW
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, ISA sets, CPUID bits and chip model. - Clang's x86 intrinsic headers, LLVM 23.1.2 (commit
85ac56026243): the intrinsics, their signatures and doc comments, and the Clang of that release, which compiled each of them. - Intel Advanced Vector Extensions 10.2 Architecture Specification, revision 6.0 (361050-006, January 2026)
The tables are derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted them. The intrinsics and their signatures come from Clang, part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.