Instruction
VMOVNTPS
Stores packed singles to aligned memory with a non-temporal hint that avoids polluting the caches.
VMOVNTPS is the VEX and EVEX form of MOVNTPS: a store of 16, 32 or 64 bytes with a non-temporal hint. MOVNTPS’s page and MOVNTDQ’s cover the hint, the weak ordering that needs an SFENCE before the data is handed to another thread, and why whole 64-byte lines pay.
Still aligned
Most VEX and EVEX instructions take memory at any alignment; the streaming stores do not. The address must be a multiple of the store’s size, or the store raises #GP: 32 bytes for a ymm register in Intel’s and AMD’s manuals alike, 64 for a zmm one in Intel’s. AMD’s documents the zmm form too, but says only that a misaligned store raises #GP, with no 64-byte row in its exception tables. The VEX forms need AVX; the EVEX forms need AVX512F (with AVX512VL below 512 bits) or AVX10.1, and take neither a write mask nor a broadcast, so the ragged ends of a buffer need ordinary stores. AMD’s guide for Zen 5 has its 64-byte write-combining buffers merge stores of any size up to a zmmword (Section 2.13.4): one aligned zmm store fills a whole buffer.
On Zen 5, all five forms ran at an aligned address:
vmovntps ymmword ptr [mem], ymm8 and
{evex} vmovntps zmmword ptr [mem], zmm24 wrote 32 and 64 bytes and
left the next 16 bytes of the buffer as they were.
In compiled code
In our builds at -O2 with -march=x86-64-v3, _mm256_stream_ps is
VMOVNTPS in GCC 14 and Clang 23; Clang also spells _mm256_stream_pd
and _mm256_stream_si256 this way, and at -march=x86-64-v4 the three
_mm512_stream_* intrinsics, where GCC keeps
VMOVNTPD and VMOVNTDQ. A fill loop
gets an SFENCE only from an _mm_sfence() in the source. Clang’s
__builtin_nontemporal_store of a 32-byte vector is VMOVNTPS whatever
its elements, but a loop of the builtin on single floats becomes plain
VMOVSS stores, which carry no hint, while on int it gives
MOVNTI.
AMD’s latency spreadsheet for Zen 5 gives the VEX row and the EVEX row one macro-op on pipe FP4 or FP5, two per cycle; only the EVEX row lists a latency, 1 cycle.
In the optimization guide
What the optimization guide says about VMOVNTPS, a line per claim. Each links to the claim in the guide, with its sources and where they differ.
Memory
- Non-temporal stores and fences: Non-temporal stores skip reading the line and write around the caches through write-combining buffers, with weak ordering.
- Non-temporal stores and fences: Non-temporal stores reach full bandwidth only when they write whole 64-byte lines, and the cores have 8 to 12 write-combining buffers for them.
Forms
| Instruction | Encoding | Requires |
|---|---|---|
VMOVNTPS m128, xmm
VMOVNTPS_MEMdq_XMMdq | VEX.128.NP.0F.WIG 2B /r | AVX |
VMOVNTPS m256, ymm
VMOVNTPS_MEMqq_YMMqq | VEX.256.NP.0F.WIG 2B /r | AVX |
VMOVNTPS m512, zmm
VMOVNTPS_MEMf32_ZMMf32_AVX512 | EVEX.512.NP.0F.W0 2B /r | AVX10.1 or AVX512F |
VMOVNTPS m128, xmm
VMOVNTPS_MEMf32_XMMf32_AVX512 | EVEX.128.NP.0F.W0 2B /r | AVX10.1 or AVX512F + AVX512VL |
VMOVNTPS m256, ymm
VMOVNTPS_MEMf32_YMMf32_AVX512 | EVEX.256.NP.0F.W0 2B /r | AVX10.1 or AVX512F + AVX512VL |
Latency and throughput
| Model | m128, xmm | m256, ymm | m512, zmm | m128, xmm | m256, ymm |
|---|---|---|---|---|---|
| Sandy Bridge | 1 / 1p4 p23 | 1 / 1p4 p23 | |||
| Haswell, Broadwell, Skylake | 1 / 1p2347 | 1 / 1p2347 | |||
| Skylake-SP | 1 / 1p2347 | 1 / 1p2347 | 1 / 1p2347 | 1 / 1p2347 | 1 / 1p2347 |
| Ice Lake | 1 / 0.5p4789 | 1 / 0.5p4789 | 1 / 0.5p4789 | 1 / 0.5p4789 | 1 / 0.5p4789 |
| Alder Lake | 470 / 0.5p4789 | 494 / 0.5p4789 | |||
| Sapphire Rapids | 470 / 0.5p4789 | 494 / 0.5p4789 | 471 / 0.5p4789 | 475 / 0.5p4789 | 476 / 0.5p4789 |
| Lunar Lake | 470 / 0.5p10 p11 p25 p26 p27 | 494 / 0.5p10 p11 p25 p26 p27 | |||
| Piledriver, Jaguar | 3 / 1FPU1 | 3 / 2FPU1 | |||
| Zen | 1 / 0.5AGU0 AGU1 | 1 / 0.5AGU0 AGU1 | |||
| Zen 2 | 1 / 0.33AGU0 AGU1 AGU2 | 1 / 0.33AGU0 AGU1 AGU2 | |||
| Zen 3 | 1 / 1FP45 FPSt LSU Store | 1 / 1FP45 FPSt LSU Store | |||
| Zen 4 | 1 / 1FP45 FPSt LSU Store | 1 / 1FP45 FPSt LSU Store | 1 / 1FP45 FPSt LSU Store | 1 / 1FP45 FPSt LSU Store | 1 / 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.
Every single works alike: 4, 8 and 16 singles in the xmm, ymm and zmm forms.
Result single i is single i of xmm2. Result singles 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.
mem.write(zmm2.read())Run on AMD Zen 5 (EPYC 9645): 5 cases.
Operands
| Operand | Kind | Action |
|---|---|---|
VMOVNTPS m128, xmm VMOVNTPS m256, ymm VMOVNTPS m512, zmm | ||
m128/256/512 | explicit | write |
xmm, ymm, zmm | 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.
- VEX forms
avx-type-1- EVEX forms
AVX512-E1NF
Attributes
What else XED records about the forms. How to read.
- All forms
- aligned memory operand; non-temporal hint; may abort a TSX transaction
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VMOVNTPS, 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_stream_pd
void _mm_stream_pd(void *__p, __m128d __a) |
|
_mm_stream_ps
void _mm_stream_ps(void *__p, __m128 __a) |
|
_mm_stream_si128
void _mm_stream_si128(void *__p, __m128i __a) |
|
_mm256_stream_ps
void _mm256_stream_ps(void *__p, __m256 __a) |
|
_mm512_stream_ps
void _mm512_stream_ps(void *__P, __m512 __A) |
|
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.
More AVX instructions
- VMINPS
- VMINSD
- VMINSS
- VMOVAPD
- VMOVAPS
- VMOVD
- VMOVDDUP
- VMOVDQA
- VMOVDQU
- VMOVHLPS
- VMOVHPD
- VMOVHPS
- VMOVLHPS
- VMOVLPD
- VMOVLPS
- VMOVMSKPD
- VMOVMSKPS
- VMOVNTDQ
- VMOVNTDQA
- VMOVNTPD
- VMOVQ
- VMOVSD
- VMOVSHDUP
- VMOVSLDUP
- VMOVSS
- VMOVUPD
- VMOVUPS
- VMPSADBW
- VMULPD
- VMULPS
- VMULSD
- VMULSS
- VORPD
- VORPS
- VPABSB
- VPABSD
- VPABSW
- VPACKSSDW
- VPACKSSWB
- VPACKUSDW
More AVX10.1 instructions
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 2B, page 4-96 (MOVNTPS)
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
- Intel Advanced Vector Extensions 10.2 Architecture Specification, revision 7.0 (361050-007, April 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.