Instruction
VBCSTNESH2PS
Loads one half-precision value from memory, converts it to single precision and broadcasts it to every element, without floating-point exceptions.
- Extensions
- Forms
- 2 (2 VEX)
- Data
- Intel XED v2026.08.23
VBCSTNESH2PS loads one half-precision (FP16) value, 16 bits from memory, widens it to a single and writes the single to every doubleword of an XMM or a YMM register, 4 or 8 copies; the bits above are cleared. The conversion is exact, and a denormal half becomes the normal single it equals, not zero, whatever MXCSR.DAZ says. No exception is reported and MXCSR is neither read nor written. It is the FP16 twin of VBCSTNEBF162PS, and the broadcast form of VCVTNEEPH2PS, whose page compares these conversions with VCVTPH2PS.
Three instructions in one
Without it, a half applied to a whole vector of singles takes three
steps, and in our builds both compilers still take them: at
-march=sierraforest, which has AVX-NE-CONVERT, GCC 14 and Clang 23
compile o[i] = (float)h[0] * o[i] over a _Float16 array to a VPINSRW
of the half into a register, a VCVTPH2PS and a
VBROADCASTSS, before the loop. Only the
intrinsics _mm_bcstnesh_ps and _mm256_bcstnesh_ps reach the
instruction: _mm256_bcstnesh_ps(p) with -mavxneconvert becomes
vbcstnesh2ps ymm0, word ptr [rdi] in both. Crestmont, Intel’s
optimization manual says, does the widening in its load pipelines,
without the floating-point units.
Encoding
VEX.66.0F38.W0 B1, at 128 and 256 bits; ModRM must name memory, since the conversion is part of the load. With F3 the same opcode is the bfloat16 broadcast, and B0 holds the four even and odd conversions. Intel lists AVX-NE-CONVERT for Sierra Forest, Grand Ridge, Arrow Lake H and Diamond Rapids; Zen 5 lacks it.
In the optimization guide
What the optimization guide says about VBCSTNESH2PS, 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
| Instruction | Encoding | Requires |
|---|---|---|
VBCSTNESH2PS xmm, m16
VBCSTNESH2PS_XMMf32_MEMf16 | VEX.128.66.0F38.W0 B1 /r | AVX_NE_CONVERT |
VBCSTNESH2PS ymm, m16
VBCSTNESH2PS_YMMf32_MEMf16 | VEX.256.66.0F38.W0 B1 /r | AVX_NE_CONVERT |
Latency and throughput
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.
Shown for the ymm form; the xmm form works the same on 4 singles.
Result singles 7 to 0: a0, a0, a0, a0, a0, a0, a0, a0.
Operation
What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.
x = to_f32_ne(mem.f16[0])
for i in range(VL // 32):
ymm1.f32[i] = x
# ymm1 is zeroed from bit VL upNot run on a processor: none of these processors has AVX-NE-CONVERT.
Operands
| Operand | Kind | Action |
|---|---|---|
VBCSTNESH2PS xmm, m16 VBCSTNESH2PS ymm, m16 | ||
xmm, ymm | explicit | write |
m16 | 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.
- All forms
avx-type-5
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VBCSTNESH2PS, 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_bcstnesh_ps
__m128 _mm_bcstnesh_ps(const void *__A) |
|
_mm256_bcstnesh_ps
__m256 _mm256_bcstnesh_ps(const void *__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.
| ISA set | CPUID | Processors |
|---|---|---|
AVX_NE_CONVERT | AVX_NE_CONVERT | Arrow Lake, Panther Lake, Nova Lake, Diamond Rapids, Sierra Forest, Clearwater Forest, Zen 6 |
More AVX-NE-CONVERT 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 2C, page 5-8 (VBCSTNESH2PS)
- 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.