Extensions
Forms
10 (4 VEX, 6 EVEX)
Data
Intel XED v2026.08.23

VMOVDDUP is the VEX and EVEX form of MOVDDUP, whose page covers the 128-bit broadcast of a double and its place in SSE3. The 128-bit forms still copy the low double, or eight bytes of memory at any alignment, into both halves, and zero the register above. The wider forms do it in each 128-bit lane: a ymm result holds doubles 0, 0, 2, 2 of the source, and its memory operand is 32 bytes, though doubles 1 and 3 are not used. VEX.128 and VEX.256 need AVX; the EVEX forms need AVX512F (with AVX512VL below 512 bits) or AVX10.1, and add a write mask per double but no broadcast. To fill a whole ymm register with one double, VBROADCASTSD is the instruction.

On Zen 5, vmovddup ymm12, ymmword ptr [mem] gave the doubles at offsets 0 and 16 twice each. With masks: vmovddup xmm0{k5}{z}, qword ptr [mem], with bit 1 of K5 clear, kept the memory double in element 0 only and zeroed element 1, and vmovddup zmm0{k4}, zmm31 wrote elements 0, 2, 5, 6 and 7, each from the even double of its lane, and kept elements 1, 3 and 4 of ZMM0.

In compiled code

In our builds at -O2 with -march=x86-64-v3 and x86-64-v4, GCC 14 and Clang 23 compile _mm_set1_pd(*p) and _mm_loaddup_pd(p) to vmovddup xmm0, qword ptr [rdi], and _mm256_set1_pd to VBROADCASTSD. For _mm_movedup_pd(v) Clang emits VMOVDDUP and GCC vpermilpd xmm0, xmm0, 0. For _mm256_movedup_pd(v) and _mm512_movedup_pd(v) on a register, Clang emits vmovddup ymm0, ymm0 and its zmm twin, while GCC stores the register to the stack and runs VMOVDDUP on the copy in memory; from memory, both load and duplicate in one VMOVDDUP.

AMD’s latency spreadsheet for Zen 5 gives the VEX forms one macro-op on pipes FP0 to FP3, a latency of 1 cycle and four per cycle, and the EVEX forms one macro-op on FP1 or FP2, a latency of 2 cycles and two per cycle.

Forms

Every encoding of VMOVDDUP that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
VMOVDDUP xmm, m64 VMOVDDUP_XMMdq_MEMqVEX.128.F2.0F.WIG 12 /rAVX
VMOVDDUP xmm, xmm VMOVDDUP_XMMdq_XMMqVEX.128.F2.0F.WIG 12 /rAVX
VMOVDDUP ymm, m256 VMOVDDUP_YMMqq_MEMqqVEX.256.F2.0F.WIG 12 /rAVX
VMOVDDUP ymm, ymm VMOVDDUP_YMMqq_YMMqqVEX.256.F2.0F.WIG 12 /rAVX
VMOVDDUP zmm {k}{z}, zmm VMOVDDUP_ZMMf64_MASKmskw_ZMMf64_AVX512EVEX.512.F2.0F.W1 12 /rAVX10.1 or AVX512F
VMOVDDUP zmm {k}{z}, m512 VMOVDDUP_ZMMf64_MASKmskw_MEMf64_AVX512EVEX.512.F2.0F.W1 12 /rAVX10.1 or AVX512F
VMOVDDUP xmm {k}{z}, xmm VMOVDDUP_XMMf64_MASKmskw_XMMf64_AVX512EVEX.128.F2.0F.W1 12 /rAVX10.1 or AVX512F + AVX512VL
VMOVDDUP xmm {k}{z}, m64 VMOVDDUP_XMMf64_MASKmskw_MEMf64_AVX512EVEX.128.F2.0F.W1 12 /rAVX10.1 or AVX512F + AVX512VL
VMOVDDUP ymm {k}{z}, ymm VMOVDDUP_YMMf64_MASKmskw_YMMf64_AVX512EVEX.256.F2.0F.W1 12 /rAVX10.1 or AVX512F + AVX512VL
VMOVDDUP ymm {k}{z}, m256 VMOVDDUP_YMMf64_MASKmskw_MEMf64_AVX512EVEX.256.F2.0F.W1 12 /rAVX10.1 or AVX512F + AVX512VL

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, m64xmm, xmmymm, m256ymm, ymmzmm {k}{z}, zmm
xmm {k}{z}, xmm
ymm {k}{z}, ymm
zmm {k}{z}, m512no maskzmm {k}{z}, m512with a mask, zeroingxmm {k}{z}, m64no maskxmm {k}{z}, m64with a mask, zeroingymm {k}{z}, m256no maskymm {k}{z}, m256with a mask, zeroing
Sandy Bridge, Haswell, Skylake6 / 0.5p231 / 1p57 / 0.5p231 / 1p5
Broadwell5 / 0.5p231 / 1p56 / 0.5p231 / 1p5
Skylake-SP, Ice Lake6 / 0.5p231 / 1p57 / 0.5p231 / 1p51 / 1p58 / 0.5p0158 / 0.5p0157 / 0.5p0157 / 0.5p0158 / 0.5p0158 / 0.5p015
Alder Lake7 / 0.33p2 p3 p101 / 1p58 / 0.33p2 p3 p101 / 1p5
Sapphire Rapids7 / 0.33p2 p3 p101 / 1p58 / 0.33p2 p3 p101 / 1p51 / 1p58 / 0.33p2 p3 p109 / 0.5p057 / 0.33p2 p3 p108 / 0.33p0158 / 0.33p2 p3 p109 / 0.33p015
Lunar Lake6 / 2p20 p21 p221 / 0.5V2 V37 / 2.33p20 p21 p221 / 0.5V2 V3
Piledriver7 / 1.5FPFMA FPU0 FPU12 / 1FPFMA FPU0 FPU17 / 2FPFMA FPU0 FPU12 / 2FPFMA FPU0 FPU1
Zen8 / 0.5FPU1 FPU21 / 0.5FPU1 FPU28 / 1FPU1 FPU21 / 1FPU1 FPU2
Zen 28 / 0.5FPU1 FPU21 / 0.5FPU1 FPU28 / 0.5FPU1 FPU21 / 0.5FPU1 FPU2
Zen 38 / 0.5FP1 FP21 / 0.5FP1 FP28 / 0.5FP1 FP21 / 0.5FP1 FP2
Zen 48 / 0.5FP1 FP21 / 0.5FP1 FP28 / 0.5FP1 FP21 / 0.5FP1 FP22 / 11FP1 FP28 / 1FP1 FP28 / 1FP1 FP28 / 0.5FP1 FP28 / 0.5FP1 FP28 / 0.5FP1 FP28 / 0.5FP1 FP2
Jaguar6 / 1FPA FPM FPU0 FPU11 / 0.5FPA FPM FPU0 FPU16 / 2FPA FPM FPU0 FPU11 / 1FPA FPM FPU0 FPU1
  1. Zen 4 model, xmm form: AMD's spreadsheets give reciprocal throughput 0.5 for Zen 4 and Zen 5 (AMD 57647, row 1611; AMD 58455, row 143).

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.

Duplicate: the low double of each 128-bit lane goes to both doubles of the lane.
VMOVDDUPResult doubles 1 to 0: a0, a0.01xmm2or m64a11k1a0a0xmm1

The ymm and zmm forms repeat this in each 128-bit lane. The EVEX forms write under a mask: where its bit is 0, the element keeps its old value, or zeroes it with {z}.

Result doubles 1 to 0: a0, a0.

Operation

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

for i in range(VL // 64):
    j = i - i % 2
    if k1[i]:  # 1 without a write mask
        zmm1.q[i] = src2.q[j]
    elif zeroing:
        zmm1.q[i] = 0
    # else: zmm1.q[i] keeps its value
# zmm1 is zeroed from bit VL up

Run on AMD Zen 5 (EPYC 9645): 10 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
VMOVDDUP xmm, xmm/m64 VMOVDDUP ymm, ymm/m256
xmm, ymmexplicitwrite
xmm/m64, ymm/m256explicitread
VMOVDDUP xmm {k}{z}, xmm/m64 VMOVDDUP ymm {k}{z}, ymm/m256 VMOVDDUP zmm {k}{z}, zmm/m512
xmm, ymm, zmmexplicitwrite (masked)
{k}explicitread (write mask)
xmm/m64, ymm/m256, zmm/m512explicitread

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.

VEX forms
avx-type-5
EVEX forms
AVX512-E5NF

Attributes

What else XED records about the forms. How to read.

EVEX forms
write masking

Intrinsics

The C intrinsics of Clang 23.1.2 that compile to VMOVDDUP, 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_broadcastsd_pd __m128d _mm_broadcastsd_pd(__m128d __a)

VMOVDDUP xmm, xmm VEX.128 -mavx2

Clang's comment names MOVDDUP, the SSE3 instruction; this AVX2 intrinsic is compiled to its VEX form, VMOVDDUP.

_mm_load1_pd __m128d _mm_load1_pd(const double *__dp)

VMOVDDUP xmm, m64 VEX.128 -mavxwith AVX enabled

_mm_load_pd1 __m128d _mm_load_pd1(const double *dp)

VMOVDDUP xmm, m64 VEX.128 -mavxwith AVX enabled

_mm_loaddup_pd __m128d _mm_loaddup_pd(const double *dp)

VMOVDDUP xmm, m64 VEX.128 -mavxwith AVX enabled

_mm_movedup_pd __m128d _mm_movedup_pd(__m128d __a)

VMOVDDUP xmm, xmm VEX.128 -mavxwith AVX enabled

_mm_set1_pd __m128d _mm_set1_pd(double __w)

VMOVDDUP xmm, xmm VEX.128 -mavxwith AVX enabled

_mm_set_pd1 __m128d _mm_set_pd1(double __w)

VMOVDDUP xmm, xmm VEX.128 -mavxwith AVX enabled

_mm_mask_movedup_pd __m128d _mm_mask_movedup_pd(__m128d __W, __mmask8 __U, __m128d __A)

VMOVDDUP xmm {k}, xmm EVEX.128 -mavx512vl

_mm_maskz_movedup_pd __m128d _mm_maskz_movedup_pd(__mmask8 __U, __m128d __A)

VMOVDDUP xmm {k}{z}, xmm EVEX.128 -mavx512vl

_mm256_movedup_pd __m256d _mm256_movedup_pd(__m256d __a)

VMOVDDUP ymm, ymm VEX.256 -mavx

_mm256_mask_movedup_pd __m256d _mm256_mask_movedup_pd(__m256d __W, __mmask8 __U, __m256d __A)

VMOVDDUP ymm {k}, ymm EVEX.256 -mavx512vl

_mm256_maskz_movedup_pd __m256d _mm256_maskz_movedup_pd(__mmask8 __U, __m256d __A)

VMOVDDUP ymm {k}{z}, ymm EVEX.256 -mavx512vl

_mm512_movedup_pd __m512d _mm512_movedup_pd(__m512d __A)

VMOVDDUP zmm, zmm EVEX.512 -mavx512f

_mm512_mask_movedup_pd __m512d _mm512_mask_movedup_pd(__m512d __W, __mmask8 __U, __m512d __A)

VMOVDDUP zmm {k}, zmm EVEX.512 -mavx512f

_mm512_maskz_movedup_pd __m512d _mm512_maskz_movedup_pd(__mmask8 __U, __m512d __A)

VMOVDDUP zmm {k}{z}, zmm EVEX.512 -mavx512f

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
AVX

AVX
CPUID.01H:ECX[28] 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
AVX512F_512

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

or

AVX512F
CPUID.(EAX=07H,ECX=0):EBX[16] 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
CPUID.(EAX=07H,ECX=1):EDX[19] AVX10
CPUID.(EAX=24H,ECX=0):EBX[7:0] ≥ 1 AVX10 version

or

AVX512F + AVX512VL
CPUID.(EAX=07H,ECX=0):EBX[16] AVX512F
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
AVX512F_256
Same as AVX512F_128Same as AVX512F_128

More AVX instructions

All 253 AVX instructions

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 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2B, page 4-47 (MOVDDUP)
  6. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
  7. Intel Advanced Vector Extensions 10.2 Architecture Specification, revision 7.0 (361050-007, April 2026)
  8. 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.