Extensions
Forms
9 (9 EVEX)
Data
Intel XED v2026.08.23

VMOVDQU8 is the masked load and store of AVX512BW at byte granularity: each bit of the mask register decides whether one byte moves. Without a mask it moves the whole vector at any address, as VMOVDQU does in VEX. The EVEX encodings of that move all carry an element size in their names, which matters only for masking: VMOVDQU16, VMOVDQU32 and VMOVDQU64 mask words, doublewords and quadwords. The mask field cannot name K0, since that encoding means no mask.

Its main use is the end of a buffer. A loop that handles 64 bytes at a time can take the last n bytes with a mask of the n low bits, made with BZHI from all ones and moved to a mask register with KMOVQ, instead of finishing in a scalar loop. GCC 14 and Clang 23 at -O2 compile _mm512_maskz_loadu_epi8 and _mm512_mask_storeu_epi8 with such a mask that way.

  • A masked load takes only the selected bytes, and faults on the others are suppressed, so the load may reach past the end of the buffer into an unmapped page. With {z} the other bytes of the register become zero; without it they keep their old values, which makes the instruction depend on the register’s previous contents.
  • A masked store writes only the selected bytes and leaves the rest of memory untouched. Stores take no {z}.
  • Between registers, the merging form is a byte blend, which both compilers emit for _mm512_mask_blend_epi8 when one input may be overwritten; VPBLENDMB writes the blend to a third register.

The vendors’ guides add costs to weigh. Intel’s describes this kind of remainder masking and warns that a load from the address of a recent masked store whose mask is neither all ones nor all zeros cannot take its data from the store, and waits until the store has reached the cache. AMD’s Zen 5 guide notes that merge masking reads the destination as an extra source and may add latency or reduce throughput.

Forms

Every encoding of VMOVDQU8 that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
VMOVDQU8 xmm {k}{z}, xmm VMOVDQU8_XMMu8_MASKmskw_XMMu8_AVX512EVEX.128.F2.0F.W0 6F /r
EVEX.128.F2.0F.W0 7F /r
AVX10.1 or AVX512BW + AVX512VL
VMOVDQU8 xmm {k}{z}, m128 VMOVDQU8_XMMu8_MASKmskw_MEMu8_AVX512EVEX.128.F2.0F.W0 6F /rAVX10.1 or AVX512BW + AVX512VL
VMOVDQU8 m128 {k}, xmm VMOVDQU8_MEMu8_MASKmskw_XMMu8_AVX512EVEX.128.F2.0F.W0 7F /rAVX10.1 or AVX512BW + AVX512VL
VMOVDQU8 ymm {k}{z}, ymm VMOVDQU8_YMMu8_MASKmskw_YMMu8_AVX512EVEX.256.F2.0F.W0 6F /r
EVEX.256.F2.0F.W0 7F /r
AVX10.1 or AVX512BW + AVX512VL
VMOVDQU8 ymm {k}{z}, m256 VMOVDQU8_YMMu8_MASKmskw_MEMu8_AVX512EVEX.256.F2.0F.W0 6F /rAVX10.1 or AVX512BW + AVX512VL
VMOVDQU8 m256 {k}, ymm VMOVDQU8_MEMu8_MASKmskw_YMMu8_AVX512EVEX.256.F2.0F.W0 7F /rAVX10.1 or AVX512BW + AVX512VL
VMOVDQU8 zmm {k}{z}, zmm VMOVDQU8_ZMMu8_MASKmskw_ZMMu8_AVX512EVEX.512.F2.0F.W0 6F /r
EVEX.512.F2.0F.W0 7F /r
AVX10.1 or AVX512BW
VMOVDQU8 zmm {k}{z}, m512 VMOVDQU8_ZMMu8_MASKmskw_MEMu8_AVX512EVEX.512.F2.0F.W0 6F /rAVX10.1 or AVX512BW
VMOVDQU8 m512 {k}, zmm VMOVDQU8_MEMu8_MASKmskw_ZMMu8_AVX512EVEX.512.F2.0F.W0 7F /rAVX10.1 or AVX512BW

Latency and throughput

What the scheduling models of LLVM 23.1.2 give for each form, not measurements: latency / reciprocal throughput in cycles, the ports under them. A row is a model, or models that agree; a dash, a form that its processors lack. Memory forms: latency from the address, ports without the load and store units. Which processors each model covers.
Modelxmm {k}{z}, xmmno mask
ymm {k}{z}, ymmno mask
xmm {k}{z}, xmmwith a mask, zeroing
ymm {k}{z}, ymmwith a mask, zeroing
xmm {k}{z}, m128no maskxmm {k}{z}, m128with a mask, zeroingm128 {k}, xmm
m256 {k}, ymm
ymm {k}{z}, m256no mask
zmm {k}{z}, m512no mask
ymm {k}{z}, m256with a mask, zeroingzmm {k}{z}, zmmno maskzmm {k}{z}, zmmwith a mask, zeroingzmm {k}{z}, m512with a mask, zeroingm512 {k}, zmmno maskm512 {k}, zmmwith a mask
Skylake-SP1 / 0.33p0151 / 0.33p0157 / 0.5p0157 / 0.5p0151 / 1p23478 / 0.5p0158 / 0.5p0151 / 0.5p051 / 0.5p058 / 0.5p0152 / 2p152 / 2p15
Ice Lake1 / 0.33p0151 / 0.33p0157 / 0.5p0157 / 0.5p0151 / 0.5p47898 / 0.5p0158 / 0.5p0151 / 0.5p051 / 0.5p058 / 0.5p0152 / 1p152 / 1p15
Sapphire Rapids1 / 03 / 0.33p0157 / 0.33p2 p3 p1011 / 0.33p01512 / 0.5p47898 / 0.33p2 p3 p1011 / 0.33p0151 / 03 / 0.5p0511 / 0.5p0512 / 0.5p478912 / 1p0 p1 p5 p6 p11
Zen 40 / 0.170 / 0.178 / 0.5FP45 LSU Load8 / 0.5FP45 LSU Load1 / 1FP45 FPSt LSU Store8 / 0.5FP45 LSU Load8 / 0.5FP45 LSU Load0 / 0.170 / 0.178 / 0.5FP45 LSU Load1 / 1FP45 FPSt LSU Store1 / 1FP45 FPSt LSU Store

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.

A masked move: each byte is copied where its bit of k1 is 1; elsewhere merging keeps the old element, and zeroing writes 0.VMOVDQU8 xmm {k}{z}, xmm/m128 VMOVDQU8 ymm {k}{z}, ymm/m256 VMOVDQU8 zmm {k}{z}, zmm/m512

merging, {k1}

VMOVDQU8 with merging, {k1}With merging: result bytes 7 to 0: a7, unchanged, a5, a4, unchanged, unchanged, a1, unchanged.…01234567xmm2or m128a11110000k1…a1a4a5a7xmm1

zeroing, {k1}{z}

VMOVDQU8 with zeroing, {k1}{z}With zeroing: result bytes 7 to 0: a7, 0, a5, a4, 0, 0, a1, 0.0000

Example mask k1 = 0xB2. Shown: bytes 7 to 0. Every byte works alike: 16, 32 and 64 bytes in the xmm, ymm and zmm forms.

With merging: result bytes 7 to 0: a7, unchanged, a5, a4, unchanged, unchanged, a1, unchanged.

With zeroing: result bytes 7 to 0: a7, 0, a5, a4, 0, 0, a1, 0.

A masked store: each byte is copied where its bit of k1 is 1; elsewhere the memory is left as it was.VMOVDQU8 m128 {k}, xmm VMOVDQU8 m256 {k}, ymm VMOVDQU8 m512 {k}, zmm
VMOVDQU8 with merging, {k1}Memory bytes 7 to 0: a7, unchanged, a5, a4, unchanged, unchanged, a1, unchanged.xmm2am128

Example mask k1 = 0xB2. Shown: bytes 7 to 0. Every byte works alike: 16, 32 and 64 bytes in the xmm, ymm and zmm forms.

Memory bytes 7 to 0: a7, unchanged, a5, a4, unchanged, unchanged, a1, unchanged.

Operation

What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.

VMOVDQU8 xmm {k}{z}, xmm/m128 VMOVDQU8 ymm {k}{z}, ymm/m256 VMOVDQU8 zmm {k}{z}, zmm/m512
for i in range(VL // 8):
    if k1[i]:
        zmm1.b[i] = src2.b[i]
    elif zeroing:
        zmm1.b[i] = 0
    # else: zmm1.b[i] keeps its value
# zmm1 is zeroed from bit VL up

Run on AMD Zen 5 (EPYC 9645): 6 cases.

VMOVDQU8 m128 {k}, xmm VMOVDQU8 m256 {k}, ymm VMOVDQU8 m512 {k}, zmm
for i in range(VL // 8):
    if k1[i]:
        mem.b[i] = zmm2.b[i]
    # else: mem.b[i] is not written

Run on AMD Zen 5 (EPYC 9645): 3 cases.

Operands

What each form reads and writes, as Intel XED records it: the operands of its syntax, in order, and the implicit ones that the syntax does not name. How to read.
OperandKindAction
VMOVDQU8 xmm {k}{z}, xmm/m128 VMOVDQU8 ymm {k}{z}, ymm/m256 VMOVDQU8 zmm {k}{z}, zmm/m512
xmm, ymm, zmmexplicitwrite (masked)
{k}explicitread (write mask)
xmm/m128, ymm/m256, zmm/m512explicitread
VMOVDQU8 m128 {k}, xmm VMOVDQU8 m256 {k}, ymm VMOVDQU8 m512 {k}, zmm
m128/256/512explicitwrite (masked)
{k}explicitread (write mask)
xmm, ymm, zmmexplicitread

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 VMOVDQU8, 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.

IntrinsicCompiles to
_mm_mask_blend_epi8 __m128i _mm_mask_blend_epi8(__mmask16 __U, __m128i __A, __m128i __W)

VMOVDQU8 xmm {k}, xmm EVEX.128 -mavx512vl -mavx512bw

_mm_mask_loadu_epi8 __m128i _mm_mask_loadu_epi8(__m128i __W, __mmask16 __U, const void *__P)

VMOVDQU8 xmm {k}, m128 EVEX.128 -mavx512vl -mavx512bw

_mm_mask_mov_epi8 __m128i _mm_mask_mov_epi8(__m128i __W, __mmask16 __U, __m128i __A)

VMOVDQU8 xmm {k}, xmm EVEX.128 -mavx512vl -mavx512bw

_mm_mask_storeu_epi8 void _mm_mask_storeu_epi8(void *__P, __mmask16 __U, __m128i __A)

VMOVDQU8 m128 {k}, xmm EVEX.128 -mavx512vl -mavx512bw

_mm_maskz_loadu_epi8 __m128i _mm_maskz_loadu_epi8(__mmask16 __U, const void *__P)

VMOVDQU8 xmm {k}{z}, m128 EVEX.128 -mavx512vl -mavx512bw

_mm_maskz_mov_epi8 __m128i _mm_maskz_mov_epi8(__mmask16 __U, __m128i __A)

VMOVDQU8 xmm {k}{z}, xmm EVEX.128 -mavx512vl -mavx512bw

_mm256_mask_blend_epi8 __m256i _mm256_mask_blend_epi8(__mmask32 __U, __m256i __A, __m256i __W)

VMOVDQU8 ymm {k}, ymm EVEX.256 -mavx512vl -mavx512bw

_mm256_mask_loadu_epi8 __m256i _mm256_mask_loadu_epi8(__m256i __W, __mmask32 __U, const void *__P)

VMOVDQU8 ymm {k}, m256 EVEX.256 -mavx512vl -mavx512bw

_mm256_mask_mov_epi8 __m256i _mm256_mask_mov_epi8(__m256i __W, __mmask32 __U, __m256i __A)

VMOVDQU8 ymm {k}, ymm EVEX.256 -mavx512vl -mavx512bw

_mm256_mask_storeu_epi8 void _mm256_mask_storeu_epi8(void *__P, __mmask32 __U, __m256i __A)

VMOVDQU8 m256 {k}, ymm EVEX.256 -mavx512vl -mavx512bw

_mm256_maskz_loadu_epi8 __m256i _mm256_maskz_loadu_epi8(__mmask32 __U, const void *__P)

VMOVDQU8 ymm {k}{z}, m256 EVEX.256 -mavx512vl -mavx512bw

_mm256_maskz_mov_epi8 __m256i _mm256_maskz_mov_epi8(__mmask32 __U, __m256i __A)

VMOVDQU8 ymm {k}{z}, ymm EVEX.256 -mavx512vl -mavx512bw

_mm512_loadu_epi8 __m512i _mm512_loadu_epi8(const void *__P)

VMOVDQU8 zmm, m512 EVEX.512 -mavx512bwClang emits the equivalent VMOVDQU64

_mm512_storeu_epi8 void _mm512_storeu_epi8(void *__P, __m512i __A)

VMOVDQU8 m512, zmm EVEX.512 -mavx512bwClang emits the equivalent VMOVDQU64

_mm512_mask_blend_epi8 __m512i _mm512_mask_blend_epi8(__mmask64 __U, __m512i __A, __m512i __W)

VMOVDQU8 zmm {k}, zmm EVEX.512 -mavx512bw

_mm512_mask_loadu_epi8 __m512i _mm512_mask_loadu_epi8(__m512i __W, __mmask64 __U, const void *__P)

VMOVDQU8 zmm {k}, m512 EVEX.512 -mavx512bw

_mm512_mask_mov_epi8 __m512i _mm512_mask_mov_epi8(__m512i __W, __mmask64 __U, __m512i __A)

VMOVDQU8 zmm {k}, zmm EVEX.512 -mavx512bw

_mm512_mask_storeu_epi8 void _mm512_mask_storeu_epi8(void *__P, __mmask64 __U, __m512i __A)

VMOVDQU8 m512 {k}, zmm EVEX.512 -mavx512bw

_mm512_maskz_loadu_epi8 __m512i _mm512_maskz_loadu_epi8(__mmask64 __U, const void *__P)

VMOVDQU8 zmm {k}{z}, m512 EVEX.512 -mavx512bw

_mm512_maskz_mov_epi8 __m512i _mm512_maskz_mov_epi8(__mmask64 __U, __m512i __A)

VMOVDQU8 zmm {k}{z}, zmm EVEX.512 -mavx512bw

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.

CPUID requirements and processors of the XED ISA sets above. Alternatives are separated by “or”; processors follow XED’s chip model, whose AMD processors end with Zen 2, and the CPU data of this site for Zen 3 to Zen 6.
ISA setCPUIDProcessors
AVX512BW_128

AVX10.1
CPUID.(EAX=07H,ECX=1):EDX[19] AVX10
CPUID.(EAX=24H,ECX=0):EBX[7:0] ≥ 1 AVX10 version

or

AVX512BW + AVX512VL
CPUID.(EAX=07H,ECX=0):EBX[30] AVX512BW
CPUID.(EAX=07H,ECX=0):EBX[31] 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
AVX512BW_256
Same as AVX512BW_128Same as AVX512BW_128
AVX512BW_512

AVX10.1
CPUID.(EAX=07H,ECX=1):EDX[19] AVX10
CPUID.(EAX=24H,ECX=0):EBX[7:0] ≥ 1 AVX10 version

or

AVX512BW
CPUID.(EAX=07H,ECX=0):EBX[30] AVX512BW

Same as AVX512BW_128

More AVX10.1 instructions

All 686 AVX10.1 instructions

Sources

  1. Intel XED v2026.08.23 (commit 0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model.
  2. The CPU data of x86-64.net: Zen 3 to Zen 6, from GCC’s -march feature sets and AMD’s Processor Programming References, which the page of each processor cites.
  3. 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.
  4. LLVM 23.1.2's x86 scheduling models (commit 85ac56026243): the latency, reciprocal throughput and ports of each form, as llvm-mca reports them.
  5. Intel Advanced Vector Extensions 10.2 Architecture Specification, revision 7.0 (361050-007, April 2026)
  6. 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)
  7. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
  8. Intel 64 and IA-32 Architectures Optimization Reference Manual, Volume 1 (248966-051, October 2026)
  9. Software Optimization Guide for the AMD Zen5 Microarchitecture (58455, rev. 1.00, August 2024), Wayback Machine copy of AMD's ZIP

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.