Instruction
VMOVDQU32
Moves integer vectors between registers and memory without an alignment requirement, masked at doubleword granularity.
- Extensions
- Forms
- 9 (9 EVEX)
- Data
- Intel XED v2026.08.23
VMOVDQU32 is one of the four EVEX encodings of the unaligned integer move: a load, store or register copy of 16, 32 or 64 bytes at any address, as VMOVDQU is in VEX, with a write mask that selects doublewords. Unmasked, it moves the same bits as VMOVDQU8, VMOVDQU16 and VMOVDQU64. The VMOVDQU8 page covers masked loads and stores, whose left-out elements raise no fault, and their use at the end of a buffer. What the doubleword form brings:
- AVX512F alone. VMOVDQU32 and VMOVDQU64 need only AVX512F (or
AVX10.1); the byte and word forms need AVX512BW. A loop over
intelements can mask its tail on any AVX-512 processor. - A 16-bit mask for 512 bits. One mask bit per
int, so a tail of n elements takes the n low bits of a 16-bit mask. On Zen 5,vmovdqu32 xmm7{k2}{z}, [mem]with 1001b in the low bits of K2 loaded doublewords 0 and 3 and zeroed 1 and 2 and the rest of ZMM7.
In compiled code
GCC 14 and Clang 23 at -O2 with -march=x86-64-v4 compile a tail
written with intrinsics, _mm512_maskz_loadu_epi32 and
_mm512_mask_storeu_epi32 under a mask made by
BZHI of FFFFh and KMOVD, to
vmovdqu32 zmm0{k1}{z}, [rsi] and vmovdqu32 [rdi]{k1}, zmm0.
Neither masks the tail of a plain C loop at -O2: GCC leaves a loop of
unknown count scalar, and Clang finishes one with scalar code.
Unmasked, the element size is only a name, and the compilers differ.
GCC loads and stores the zmm registers of a vectorized int loop with
VMOVDQU32, a[i] = b[i] + c[i] for example, but compiles
_mm512_loadu_si512 to VMOVDQU64. Clang stays with ymm registers and
VEX VMOVDQU in the loop, and uses VMOVUPS for the
512-bit intrinsic.
For _mm512_mask_blend_epi32, a merging register copy, both emit
the aligned name VMOVDQA32. Zen 5’s 9 recorded
cases cover every form, masked, at all three widths, all at an aligned
address.
Forms
| Instruction | Encoding | Requires |
|---|---|---|
VMOVDQU32 zmm {k}{z}, zmm
VMOVDQU32_ZMMu32_MASKmskw_ZMMu32_AVX512 | EVEX.512.F3.0F.W0 6F /rEVEX.512.F3.0F.W0 7F /r | AVX10.1 or AVX512F |
VMOVDQU32 zmm {k}{z}, m512
VMOVDQU32_ZMMu32_MASKmskw_MEMu32_AVX512 | EVEX.512.F3.0F.W0 6F /r | AVX10.1 or AVX512F |
VMOVDQU32 m512 {k}, zmm
VMOVDQU32_MEMu32_MASKmskw_ZMMu32_AVX512 | EVEX.512.F3.0F.W0 7F /r | AVX10.1 or AVX512F |
VMOVDQU32 xmm {k}{z}, xmm
VMOVDQU32_XMMu32_MASKmskw_XMMu32_AVX512 | EVEX.128.F3.0F.W0 6F /rEVEX.128.F3.0F.W0 7F /r | AVX10.1 or AVX512F + AVX512VL |
VMOVDQU32 xmm {k}{z}, m128
VMOVDQU32_XMMu32_MASKmskw_MEMu32_AVX512 | EVEX.128.F3.0F.W0 6F /r | AVX10.1 or AVX512F + AVX512VL |
VMOVDQU32 m128 {k}, xmm
VMOVDQU32_MEMu32_MASKmskw_XMMu32_AVX512 | EVEX.128.F3.0F.W0 7F /r | AVX10.1 or AVX512F + AVX512VL |
VMOVDQU32 ymm {k}{z}, ymm
VMOVDQU32_YMMu32_MASKmskw_YMMu32_AVX512 | EVEX.256.F3.0F.W0 6F /rEVEX.256.F3.0F.W0 7F /r | AVX10.1 or AVX512F + AVX512VL |
VMOVDQU32 ymm {k}{z}, m256
VMOVDQU32_YMMu32_MASKmskw_MEMu32_AVX512 | EVEX.256.F3.0F.W0 6F /r | AVX10.1 or AVX512F + AVX512VL |
VMOVDQU32 m256 {k}, ymm
VMOVDQU32_MEMu32_MASKmskw_YMMu32_AVX512 | EVEX.256.F3.0F.W0 7F /r | AVX10.1 or AVX512F + AVX512VL |
Latency and throughput
| Model | zmm {k}{z}, zmmno mask | zmm {k}{z}, zmmwith a mask, zeroing | zmm {k}{z}, m512no maskymm {k}{z}, m256no mask | zmm {k}{z}, m512with a mask, zeroing | m512 {k}, zmmm128 {k}, xmmm256 {k}, ymm | xmm {k}{z}, xmmno maskymm {k}{z}, ymmno mask | xmm {k}{z}, xmmwith a mask, zeroingymm {k}{z}, ymmwith a mask, zeroing | xmm {k}{z}, m128no mask | xmm {k}{z}, m128with a mask, zeroing | ymm {k}{z}, m256with a mask, zeroing |
|---|---|---|---|---|---|---|---|---|---|---|
| Skylake-SP | 1 / 0.5p05 | 1 / 0.5p05 | 8 / 0.5p015 | 8 / 0.5p015 | 1 / 1p2347 | 1 / 0.33p015 | 1 / 0.33p015 | 7 / 0.5p015 | 7 / 0.5p015 | 8 / 0.5p015 |
| Ice Lake | 1 / 0.5p05 | 1 / 0.5p05 | 8 / 0.5p015 | 8 / 0.5p015 | 1 / 0.5p4789 | 1 / 0.33p015 | 1 / 0.33p015 | 7 / 0.5p015 | 7 / 0.5p015 | 8 / 0.5p015 |
| Sapphire Rapids | 1 / 0 | 1 / 0.5p05 | 8 / 0.33p2 p3 p10 | 9 / 0.5p05 | 12 / 0.5p4789 | 1 / 0 | 1 / 0.33p015 | 7 / 0.33p2 p3 p10 | 8 / 0.33p015 | 9 / 0.33p015 |
| Zen 4 | 0 / 0.17 | 0 / 0.17 | 8 / 0.5FP45 LSU Load | 8 / 0.5FP45 LSU Load | 1 / 1FP45 FPSt LSU Store | 0 / 0.17 | 0 / 0.17 | 8 / 0.5FP45 LSU Load | 8 / 0.5FP45 LSU Load | 8 / 0.5FP45 LSU Load |
Data flow
Where the elements of the sources go, element 0 on the right; results that depend on a control value are drawn for an example. How to read.
VMOVDQU32 xmm {k}{z}, xmm/m128 VMOVDQU32 ymm {k}{z}, ymm/m256 VMOVDQU32 zmm {k}{z}, zmm/m512merging, {k1}
zeroing, {k1}{z}
Example mask k1 = 0x0B. Every doubleword works alike: 4, 8 and 16 doublewords in the xmm, ymm and zmm forms.
With merging: result doublewords 3 to 0: a3, unchanged, a1, a0.
With zeroing: result doublewords 3 to 0: a3, 0, a1, a0.
VMOVDQU32 m128 {k}, xmm VMOVDQU32 m256 {k}, ymm VMOVDQU32 m512 {k}, zmmExample mask k1 = 0x0B. Every doubleword works alike: 4, 8 and 16 doublewords in the xmm, ymm and zmm forms.
Memory doublewords 3 to 0: a3, unchanged, a1, a0.
Operation
What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.
VMOVDQU32 xmm {k}{z}, xmm/m128 VMOVDQU32 ymm {k}{z}, ymm/m256 VMOVDQU32 zmm {k}{z}, zmm/m512for i in range(VL // 32):
if k1[i]:
zmm1.d[i] = src2.d[i]
elif zeroing:
zmm1.d[i] = 0
# else: zmm1.d[i] keeps its value
# zmm1 is zeroed from bit VL upRun on AMD Zen 5 (EPYC 9645): 6 cases.
VMOVDQU32 m128 {k}, xmm VMOVDQU32 m256 {k}, ymm VMOVDQU32 m512 {k}, zmmfor i in range(VL // 32):
if k1[i]:
mem.d[i] = zmm2.d[i]
# else: mem.d[i] is not writtenRun on AMD Zen 5 (EPYC 9645): 3 cases.
Operands
| Operand | Kind | Action |
|---|---|---|
VMOVDQU32 xmm {k}{z}, xmm/m128 VMOVDQU32 ymm {k}{z}, ymm/m256 VMOVDQU32 zmm {k}{z}, zmm/m512 | ||
xmm, ymm, zmm | explicit | write (masked) |
{k} | explicit | read (write mask) |
xmm/m128, ymm/m256, zmm/m512 | explicit | read |
VMOVDQU32 m128 {k}, xmm VMOVDQU32 m256 {k}, ymm VMOVDQU32 m512 {k}, zmm | ||
m128/256/512 | explicit | write (masked) |
{k} | explicit | read (write mask) |
xmm, ymm, zmm | explicit | read |
Flags
None: XED records no flag that the forms test or change.
Exceptions
The exception class is XED's name for the set of exception conditions that a form follows. How to read.
- All forms
AVX512-E4
Attributes
What else XED records about the forms. How to read.
- All forms
- write masking
- Memory forms
- memory fault suppression
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VMOVDQU32, 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_mask_loadu_epi32
__m128i _mm_mask_loadu_epi32(__m128i __W, __mmask8 __U, const void *__P) |
|
_mm_mask_storeu_epi32
void _mm_mask_storeu_epi32(void *__P, __mmask8 __U, __m128i __A) |
|
_mm_maskz_loadu_epi32
__m128i _mm_maskz_loadu_epi32(__mmask8 __U, const void *__P) |
|
_mm256_mask_loadu_epi32
__m256i _mm256_mask_loadu_epi32(__m256i __W, __mmask8 __U, const void *__P) |
|
_mm256_mask_storeu_epi32
void _mm256_mask_storeu_epi32(void *__P, __mmask8 __U, __m256i __A) |
|
_mm256_maskz_loadu_epi32
__m256i _mm256_maskz_loadu_epi32(__mmask8 __U, const void *__P) |
|
_mm512_loadu_epi32
__m512i _mm512_loadu_epi32(const void *__P) |
|
_mm512_storeu_epi32
void _mm512_storeu_epi32(void *__P, __m512i __A) |
|
_mm512_mask_loadu_epi32
__m512i _mm512_mask_loadu_epi32(__m512i __W, __mmask16 __U, const void *__P) |
|
_mm512_mask_storeu_epi32
void _mm512_mask_storeu_epi32(void *__P, __mmask16 __U, __m512i __A) |
|
_mm512_maskz_loadu_epi32
__m512i _mm512_maskz_loadu_epi32(__mmask16 __U, const void *__P) |
|
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.
| ISA set | CPUID | Processors |
|---|---|---|
AVX512F_512 | AVX10.1 or AVX512F | Cannon Lake, Ice Lake (client), Tiger Lake, Nova Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids, Knights Landing, Knights Mill, Zen 4, Zen 5, Zen 6 |
AVX512F_128 | AVX10.1 or AVX512F + AVX512VL | Cannon Lake, Ice Lake (client), Tiger Lake, Nova Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids, Zen 4, Zen 5, Zen 6 |
AVX512F_256 | Same as AVX512F_128 | Same as AVX512F_128 |
More AVX10.1 instructions
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model. - The CPU data of x86-64.net: Zen 3 to Zen 6, from GCC’s
-marchfeature sets and AMD’s Processor Programming References, which the page of each processor cites. - 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. - LLVM 23.1.2's x86 scheduling models (commit
85ac56026243): the latency, reciprocal throughput and ports of each form, as llvm-mca reports them. - Intel Advanced Vector Extensions 10.2 Architecture Specification, revision 7.0 (361050-007, April 2026)
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2B, page 4-64 (MOVDQU,VMOVDQU8/
16/ 32/ 64)
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 and the timings from LLVM's scheduling models, both part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.