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

VRCPSS is the VEX form of RCPSS: an estimate of 1/x for the low single of its last operand, with singles 1 to 3 copied from the operand before it and the bits above 127 cleared. It needs AVX. The RCPSS page gives Intel’s bound on the relative error, 1.5 times 2^-12, and Zen 5’s estimates; VRCPPS covers the special inputs. There is no EVEX form: AVX-512 has VRCP14SS instead, with a bound of 2^-14 and a write mask.

Recorded on Zen 5

  • 1.40479597e-38 (0098F7FFH), read from memory, gave 7E564800H, the bits that RCPSS’s page lists for the same input.
  • vrcpss xmm8, xmm15, xmm0 turned the largest denormal into +infinity with DAZ set (MXCSR DFC0H), and took singles 1 to 3 from XMM15.
  • vrcpss xmm4, xmm4, xmm4, with MXCSR at 0 (every exception unmasked, FTZ clear), gave +0 for 2^127 and set no flag: the true reciprocal is a denormal, which the estimate does not return, as VRCPPS’s page says.

Only with -mrecip

In our builds at -O2, GCC 14 and Clang 23 keep VDIVSS for 1.0f / x even under -ffast-math. Adding -mrecip makes both compute it from vrcpss xmm1, xmm0, xmm0 and one Newton-Raphson step: GCC as 2r - xr^2 with VMULSS, VADDSS and VSUBSS, Clang with VFMSUB213SS and VFNMADD132SS. That holds for -march=x86-64-v3, x86-64-v4 and znver5 alike: neither compiler picks VRCP14SS for a scalar. The intrinsic _mm_rcp_ss(a) gives the bare estimate, vrcpss xmm0, xmm0, xmm0.

AMD’s latency spreadsheet for Zen 5 gives VRCPSS 4 cycles on pipes FP1 and FP2, as RCPSS. VRSQRTSS estimates 1/sqrt(x).

Forms

Every encoding of VRCPSS that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
VRCPSS xmm, xmm, m32 VRCPSS_XMMdq_XMMdq_MEMdVEX.LIG.F3.0F.WIG 53 /rAVX
VRCPSS xmm, xmm, xmm VRCPSS_XMMdq_XMMdq_XMMdVEX.LIG.F3.0F.WIG 53 /rAVX

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, xmm, m32xmm, xmm, xmm
Sandy Bridge11 / 1p05 / 1p0
Haswell, Broadwell10 / 1p05 / 1p0
Skylake, Skylake-SP, Ice Lake9 / 1p04 / 1p0
Alder Lake, Sapphire Rapids11 / 1p04 / 1p0
Lunar Lake10 / 2V0 V14 / 2V0 V1
Piledriver10 / 1.5FPFMA FPU15 / 1FPFMA FPU1
Zen, Zen 212 / 0.5FPU0 FPU15 / 0.5FPU0 FPU1
Zen 310 / 0.5FP0 FP13 / 0.5FP0 FP1
Zen 411 / 0.5FP0 FP14 / 0.5FP0 FP1
Jaguar7 / 1FPM FPU12 / 1FPM FPU1

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.

Scalar: only the low single is computed; the other singles come from xmm2.
VRCPSS: the low elementResult single 0 is computed from single 0 of xmm3; singles 3 to 1 are those of xmm2. Result singles 3 to 0: a3, a2, a1, r0.0123xmm2ar0a1a2a3xmm10123xmm3or m32b

Result single 0 is computed from single 0 of xmm3; singles 3 to 1 are those of xmm2. Result singles 3 to 0: a3, a2, a1, r0.

Operation

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

xmm1.f32[0] = rcp(src3.f32[0])
for i in range(1, 4):
    xmm1.d[i] = xmm2.d[i]
# rcp: 1/a within 1.5 * 2^-12; Zen 5's 2
# recorded results: 1.2915 * 2^-12 at most
# a denormal is a zero, and so is a result below 2^-126
# (in Zen 5's cases, from |a| = 2^127 up), whatever
# MXCSR says; no flags
# xmm1 is zeroed from bit 128 up

Run on AMD Zen 5 (EPYC 9645): 4 cases.

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
VRCPSS xmm, xmm, xmm/m32
xmmexplicitwrite
xmmexplicitread
xmm/m32explicitread

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 VRCPSS, 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_rcp_ss __m128 _mm_rcp_ss(__m128 __a)

VRCPSS xmm, xmm, xmm VEX.LIG -mavxwith AVX enabled

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.

More AVX instructions

All 253 AVX 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 2B, page 4-540 (RCPSS)
  6. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
  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 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.