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

MOVNTQ stores the 8 bytes of an MMX register with a non-temporal hint, through a write-combining buffer instead of the caches. It is the MMX member of the family that MOVNTI and MOVNTDQ describe: weakly ordered, so a writer needs SFENCE before another thread or a device is told that the data is there, and overridden by uncacheable or write-protected memory, where it is an ordinary store. It came with SSE and with AMD’s MMX extensions; AMD’s manual (Volume 5) accepts either CPUID bit. On Zen 5 the recorded movntq qword ptr [mem], mm0 stored MM0’s bytes, low byte first.

Like every MMX instruction it switches the x87 unit to MMX use, TOP 0 and all tags valid, so code that mixes it with x87 arithmetic needs EMMS before the next x87 instruction.

The intrinsic

_mm_stream_pi(p, v) is the intrinsic Intel’s entry names, and the compilers part ways over it. GCC 14 at -O2 emits MOVNTQ with -m32 and SSE, a loop of them for a copy, but in 64-bit code it moves the value to a general-purpose register and stores it with MOVNTI. Clang 23 never uses an MMX register in our builds: in 64-bit code it emits a plain MOVSD, which drops the hint, or MOVNTSD with -msse4a; with -m32 -march=pentium4 it emits two 32-bit MOVNTIs, and with -march=pentium3, which lacks MOVNTI, two plain MOVs.

AMD’s Zen 5 guide lists MOVNTQ as one macro-op on pipes FP4 and FP5, two per cycle, and names it among the streaming stores that use the write-combining buffers (Section 2.13).

Forms

Every encoding of MOVNTQ that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
MOVNTQ m64, mm MOVNTQ_MEMq_MMXqNP 0F E7 /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.
Modelm64, mm
Sandy Bridge1 / 1p4 p23
Haswell, Broadwell, Skylake, Skylake-SP1 / 1p2347
Ice Lake1 / 0.5p4789
Alder Lake, Sapphire Rapids511 / 0.5p4789
Lunar Lake511 / 0.5p10 p11 p25 p26 p27
Bonnell1 / 1p0
Silvermont1 / 1MEC
Piledriver, Jaguar2 / 1FPU1
Zen1 / 0.5AGU0 AGU1
Zen 21 / 0.33AGU0 AGU1 AGU2
Zen 3, Zen 41 / 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 move: each quadword is copied to the same place.
MOVNTQ: element by elementResult quadword i is quadword i of mm2. Result quadwords: a0.0mm2aa0m64

Result quadword i is quadword i of mm2. Result quadwords: a0.

Operation

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

mem.write(mm2.read())
# x87: TOP = 0, all tags valid

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
MOVNTQ m64, mm
m64explicitwrite
mmexplicitread

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
mmx-nofp2

Attributes

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

All forms
non-temporal hint; may abort a TSX transaction

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-98 (MOVNTQ)
  5. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
  6. AMD64 Architecture Programmer's Manual, Volume 5: 64-Bit Media and x87 Floating-Point Instructions (26569, rev. 3.16, November 2021), Wayback Machine copy of AMD's PDF
  7. 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.