Instruction
VRCP28SS
Approximates the reciprocal of the low single to within 2^-28 before rounding; the rest comes from the first source.
Only the Xeon Phi processors Knights Landing and Knights Mill have this instruction; no other Intel processor supports it.
- Extensions
- Forms
- 2 (2 EVEX)
- Data
- Intel XED v2026.08.23
Forms
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 write mask k1 applies to the low single: with bit 0 clear it keeps its old value, or is zeroed with {z}.
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.
if not cpuid_leaf(7, 0)[1] >> 27 & 1:
fault(UD) # CPUID: no AVX512ER
if k1[0]:
xmm1.f32[0] = rcp28(src3.f32[0])
elif zeroing:
xmm1.f32[0] = 0
# else: xmm1.f32[0] keeps its value
for i in range(1, 4):
xmm1.d[i] = xmm2.d[i]
# rcp28: 1/a within 2^-28, rounded to a single
# denormals are zeros and tiny results zeros, whatever MXCSR
# says; IE for an SNaN, ZE for a zero
# {sae}: no exception flags
# xmm1 is zeroed from bit 128 upRun on AMD Zen 5 (EPYC 9645): 2 cases. Its cases ran where CPUID reported no AVX512ER, and every one raised an exception.
Operands
| Operand | Kind | Action |
|---|---|---|
VRCP28SS xmm {k}{z}, xmm, xmm/m32, {sae} | ||
xmm | explicit | write (masked) |
{k} | explicit | read (write mask) |
xmm | explicit | read |
xmm/m32 | 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
AVX512-E3
Attributes
What else XED records about the forms. How to read.
- All forms
- write masking; follows MXCSR
- Memory forms
- memory fault suppression
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 |
|---|---|---|
AVX512ER_SCALAR | AVX512ER | Knights Landing, Knights Mill |
More AVX512ER instructions
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model. - Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2D, page 8-26 (VRCP28SS)
- Intel Xeon Phi Coprocessor Instruction Set Architecture Reference Manual (327364-001, September 2012)
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 text is our own.