Instruction
VLDDQU
Loads 128 or 256 unaligned bits like VMOVDQU, but may read more bytes around them, for loads that cross cache lines.
- Extensions
- Forms
- 2 (2 VEX)
- Data
- Intel XED v2026.08.23
VLDDQU is the VEX form of LDDQU, whose page covers what the instruction was made for and where the manuals advise VMOVDQU instead. VEX.128 loads 16 bytes and zeroes the register above, and VEX.256 loads 32 bytes, both at any address. For the 256-bit form, Intel’s entry allows up to 64 bytes to be read, and AMD’s manual allows reading the two aligned 32-byte blocks around the operand. Both forms need AVX; VEX.vvvv must be 1111b. There is no EVEX form: AVX-512 and AVX10 left the instruction out, and the 512-bit loads are VMOVDQU8 to VMOVDQU64.
On Zen 5, vlddqu xmm7, xmmword ptr [mem] loaded 16 bytes from an
aligned address and cleared bits 511:128 of ZMM7, and
vlddqu ymm7, ymmword ptr [mem] loaded 32 bytes and cleared bits
511:256.
In compiled code
In our builds at -O2 with -march=x86-64-v3 and x86-64-v4, GCC 14
and Clang 23 compile _mm_lddqu_si128 and _mm256_lddqu_si256 to
VLDDQU, and neither compiler’s headers have a 512-bit version. As
LDDQU’s page shows for SSE, neither folds the load into the
instruction that uses it: _mm256_add_epi32(x, _mm256_lddqu_si256(p))
is a VLDDQU and a register VPADDD, where the same code with
_mm256_loadu_si256 is one vpaddd ymm0, ymm0, ymmword ptr [rdi].
Code that wants the shorter form writes the ordinary unaligned load.
AMD’s latency spreadsheet for Zen 5 lists VLDDQU in its VEX row only, one macro-op, two per cycle, with no latency; LDDQU’s row is the same.
Forms
Latency and throughput
| Model | xmm, m128 | ymm, m256 |
|---|---|---|
| Sandy Bridge, Haswell, Skylake, Skylake-SP, Ice Lake | 6 / 0.5p23 | 7 / 0.5p23 |
| Broadwell | 5 / 0.5p23 | 6 / 0.5p23 |
| Alder Lake, Sapphire Rapids | 7 / 0.33p2 p3 p10 | 8 / 0.33p2 p3 p10 |
| Lunar Lake | 6 / 0.33p20 p21 p22 | 7 / 0.33p20 p21 p22 |
| Piledriver | 5 / 1.5FPMAL FPU0 FPU1 | 5 / 1.5FPMAL FPU0 FPU1 |
| Zen | 8 / 0.5AGU0 AGU1 | 8 / 0.5AGU0 AGU1 |
| Zen 2 | 8 / 0.33AGU0 AGU1 AGU2 | 8 / 0.33AGU0 AGU1 AGU2 |
| Zen 3, Zen 4 | 8 / 0.5FP45 LSU Load | 8 / 0.5FP45 LSU Load |
| Jaguar | 5 / 1LAGU | 5 / 2LAGU |
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.
Every doubleword works alike: 4 and 8 doublewords in the xmm and ymm forms.
Result doubleword i is doubleword i of m128. Result doublewords 3 to 0: a3, a2, a1, a0.
Operation
What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.
ymm1.write(mem.read())
# ymm1 is zeroed from bit VL upRun on AMD Zen 5 (EPYC 9645): 2 cases.
Operands
| Operand | Kind | Action |
|---|---|---|
VLDDQU xmm, m128 VLDDQU ymm, m256 | ||
xmm, ymm | explicit | write |
m128/256 | 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
avx-type-4
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VLDDQU, 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_lddqu_si128
__m128i _mm_lddqu_si128(const __m128i_u *__p) |
|
_mm256_lddqu_si256
__m256i _mm256_lddqu_si256(const __m256i_u *__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 |
|---|---|---|
AVX | AVX | Sandy Bridge, Ivy Bridge, Haswell, Broadwell, Skylake, Comet Lake, Cannon Lake, Ice Lake (client), Tiger Lake, Alder Lake, Arrow Lake, Panther Lake, Nova Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids, Sierra Forest, Clearwater Forest, Knights Landing, Knights Mill, Bulldozer, Piledriver, Zen, Zen+, Zen 2, Zen 3, Zen 4, Zen 5, Zen 6 |
More AVX instructions
- VCVTSS2SD
- VCVTSS2SI
- VCVTTPD2DQ
- VCVTTPS2DQ
- VCVTTSD2SI
- VCVTTSS2SI
- VDIVPD
- VDIVPS
- VDIVSD
- VDIVSS
- VDPPD
- VDPPS
- VEXTRACTF128
- VEXTRACTPS
- VHADDPD
- VHADDPS
- VHSUBPD
- VHSUBPS
- VINSERTF128
- VINSERTPS
- VLDMXCSR
- VMASKMOVDQU
- VMASKMOVPD
- VMASKMOVPS
- VMAXPD
- VMAXPS
- VMAXSD
- VMAXSS
- VMINPD
- VMINPS
- VMINSD
- VMINSS
- VMOVAPD
- VMOVAPS
- VMOVD
- VMOVDDUP
- VMOVDQA
- VMOVDQU
- VMOVHLPS
- VMOVHPD
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 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2A, page 3-537 (LDDQU)
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
- AMD64 Architecture Programmer's Manual, Volume 4: 128-Bit, 256-Bit, and 512-Bit Media Instructions (26568, rev. 3.27, July 2026)
- 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.