Extensions
Forms
2 (2 Legacy)
Data
Intel XED v2026.08.23

MOVLPS moves 64 bits, two singles, between memory and the low half of an XMM register. The load replaces bits 63:0 and keeps bits 127:64, unlike a MOVSD or MOVQ load, which clears them; the store writes eight bytes. MOVLPD is the same move with a 66 prefix, and MOVHPS the high-half twin, whose page covers the pairs of floats that compilers move with both. With a register in place of memory, the opcode 0F 12 is MOVHLPS. The memory operand need not be aligned, and the legacy load keeps bits 128 and up (see mixing SSE and AVX), where VMOVLPS zeros them. Zen 5’s recorded movlps xmm1, qword ptr [mem] replaced the low quadword of XMM1 and kept its high quadword and bits 511:128, and movlps qword ptr [mem], xmm12 wrote XMM12’s low quadword and left the next bytes alone.

Where compilers use it

In our builds at -O2, GCC 14 and Clang 23 compile _mm_loadl_pi and _mm_storel_pi to MOVLPS, and storing elements 0 and 1 of a __m128 to two floats in memory to the store form; Clang also uses MOVLPS for _mm_loadl_pd, a byte shorter than MOVLPD. To load a pair of floats into an otherwise unused register, Clang prefers MOVSD, which does not depend on the register’s old contents.

The merging load is what both vendors’ guides discuss. Intel’s optimization manual prefers 16-byte loads and shuffles to loading halves with MOVLPS and MOVHPS (Section 7.5.1.2). AMD’s Zen 5 guide recommends whole-register loads too (Section 2.11.2), but lists MOVLPS xmm1,[mem] among the instructions whose merge can skip waiting for the register’s old value when the processor knows its upper bits to be zero (Section 2.11.5). Its latency spreadsheet gives MOVLPS one macro-op, two per cycle.

Forms

Every encoding of MOVLPS that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
MOVLPS xmm, m64 MOVLPS_XMMq_MEMqNP 0F 12 /rSSE
MOVLPS m64, xmm MOVLPS_MEMq_XMMqNP 0F 13 /rSSE

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, m64m64, xmm
Sandy Bridge7 / 1p51 / 1p4 p23
Haswell, Broadwell, Skylake, Skylake-SP6 / 1p51 / 1p2347
Ice Lake7 / 1p51 / 0.5p4789
Alder Lake, Sapphire Rapids8 / 0.5p1512 / 0.5p4789
Lunar Lake8 / 0.33V0 V1 V2 V312 / 0.5p10 p11 p25 p26 p27
Bonnell1 / 1p01 / 1p0
Silvermont4 / 1FPC01 / 1MEC
Piledriver7 / 1.5FPFMA FPU0 FPU12 / 1.5AGLU01 FPSTO FPU2 FPU3 Store
Zen8 / 0.5FPU1 FPU21 / 0.5AGU0 AGU1
Zen 28 / 0.5FPU1 FPU21 / 0.33AGU0 AGU1 AGU2
Zen 3, Zen 48 / 0.5FP1 FP21 / 1FP45 FPSt LSU Store
Jaguar6 / 1FPA FPM FPU0 FPU12 / 1FPU1

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 load of the low half: m64 becomes the low quadword of the result; the other quadword comes from xmm1.MOVLPS xmm, m64
MOVLPS: the low half loadedResult quadwords 1 to 0: a1, b0.01xmm1ab0a1xmm10m64b

Result quadwords 1 to 0: a1, b0.

A store of the low half: quadword 0 of xmm2 goes to m64.MOVLPS m64, xmm
MOVLPS: the low half storedm64 receives quadword 0 of xmm2: a0.01xmm2a0m64

m64 receives quadword 0 of xmm2: a0.

Operation

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

MOVLPS xmm, m64
xmm1.q[0] = mem.q[0]  # xmm1.q[1] keeps its value
# bits 128 and up of the register are unchanged

Run on AMD Zen 5 (EPYC 9645): 1 case.

MOVLPS m64, xmm
mem.q[0] = xmm2.q[0]

Run on AMD Zen 5 (EPYC 9645): 1 case.

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
MOVLPS xmm, m64
xmmexplicitread, write
m64explicitread
MOVLPS m64, xmm
m64explicitwrite
xmmexplicitread

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
SSE_TYPE_5

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
SSE

SSE
CPUID.01H:EDX[25] SSE

Every x86-64 processor in XED’s model and Zen 3 to Zen 6

More SSE instructions

All 65 SSE 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. LLVM 23.1.2's x86 scheduling models (commit 85ac56026243): the latency, reciprocal throughput and ports of each form, as llvm-mca reports them.
  4. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2B, page 4-82 (MOVLPS)
  5. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
  6. AMD64 Architecture Programmer's Manual, Volume 4: 128-Bit, 256-Bit, and 512-Bit Media Instructions (26568, rev. 3.27, July 2026)
  7. Intel 64 and IA-32 Architectures Optimization Reference Manual, Volume 1 (248966-051, October 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 timings come from LLVM's scheduling models, part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.