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

VCVTNEEPH2PS reads 128 or 256 bits of half-precision (FP16) values from memory and widens the even-numbered ones, elements 0, 2, 4 and so on, to singles, four into an XMM register or eight into a YMM one; the bits above are cleared. VCVTNEOPH2PS takes the odd elements. It is the FP16 twin of VCVTNEEBF162PS, with the same memory-only operand, which Crestmont, Intel’s optimization manual says, converts in its load pipelines.

Beside VCVTPH2PS

VCVTPH2PS of F16C does the same conversion for consecutive halves, from a register or memory. Both are exact, since every FP16 value has a single, and both turn a denormal into the normal single it equals, ignoring DAZ. The difference is in what they report: VCVTPH2PS sets IE in MXCSR for a signaling NaN and can raise #XM for it, while VCVTNEEPH2PS reports no exception and neither reads nor writes MXCSR. Intel’s entry calls a helper, convert_fp16_to_fp32, that the manual never defines, so whether a signaling NaN comes out quiet is not spelled out; the Operation section here makes it quiet, as VCVTPH2PS does, without a flag.

In compiled code

GCC 14 and Clang 23 compile _mm_cvtneeph_ps(p) with -mavxneconvert to vcvtneeph2ps xmm0, xmmword ptr [rdi]. They do not reach for it otherwise in our builds. At -march=sierraforest, a loop multiplying pairs, o[i] = (float)h[2*i] * (float)h[2*i+1], becomes in Clang 23 a VPBLENDW and VPACKUSDW for the even halves and a VPSRLD and VPACKUSDW for the odd ones, then VCVTPH2PS on each, where this instruction and its odd twin would load and convert in one step each; GCC 14 converts element by element with VPINSRW and VCVTPH2PS. With -mavxneconvert alone, which brings no F16C, both call __extendhfsf2 for every element. The encoding is VEX.66.0F38.W0 B0. Zen 5 lacks AVX-NE-CONVERT.

In the optimization guide

What the optimization guide says about VCVTNEEPH2PS, a line per claim. Each links to the claim in the guide, with its sources and where they differ.

Crestmont and Gracemont

  • Vectors and AVX2: Crestmont widens BF16 and FP16 to single precision in the load pipelines, using no vector port.

Forms

Every encoding of VCVTNEEPH2PS that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
VCVTNEEPH2PS xmm, m128 VCVTNEEPH2PS_XMMf32_MEM2f16VEX.128.66.0F38.W0 B0 /rAVX_NE_CONVERT
VCVTNEEPH2PS ymm, m256 VCVTNEEPH2PS_YMMf32_MEM2f16VEX.256.66.0F38.W0 B0 /rAVX_NE_CONVERT

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, m128ymm, m256
Lunar Lake5 / 0.5V0 V1 V2 V37 / 2V0 V1 V2 V3

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.

The even halves only: halves 2 and 0 of the source make singles 1 and 0 of the result, and so on.
VCVTNEEPH2PS: the even elementsResult single i comes from half 2i of m128. Result singles 3 to 0: a6, a4, a2, a0.02461357m128aa0a2a4a6xmm1

The ymm form repeats this in each 128-bit lane.

Result single i comes from half 2i of m128. Result singles 3 to 0: a6, a4, a2, 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 // 32):
    ymm1.f32[i] = to_f32_ne(mem.f16[2 * i])
# ymm1 is zeroed from bit VL up

Not run on a processor: none of these processors has AVX-NE-CONVERT.

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
VCVTNEEPH2PS xmm, m128 VCVTNEEPH2PS ymm, m256
xmm, ymmexplicitwrite
m128/256explicitread

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 VCVTNEEPH2PS, 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_cvtneeph_ps __m128 _mm_cvtneeph_ps(const __m128h *__A)

VCVTNEEPH2PS xmm, m128 VEX.128 -mavxneconvert

_mm256_cvtneeph_ps __m256 _mm256_cvtneeph_ps(const __m256h *__A)

VCVTNEEPH2PS ymm, m256 VEX.256 -mavxneconvert

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_NE_CONVERT

AVX_NE_CONVERT
CPUID.(EAX=07H,ECX=1):EDX[5] AVX_NE_CONVERT

Arrow Lake, Panther Lake, Nova Lake, Diamond Rapids, Sierra Forest, Clearwater Forest, Zen 6

More AVX-NE-CONVERT 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 2C, page 5-35 (VCVTNEEPH2PS)
  6. Intel 64 and IA-32 Architectures Optimization Reference Manual, Volume 1 (248966-051, October 2026)

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.