Extensions
Forms
5 (5 Legacy)
Data
Intel XED v2026.08.23

Forms

Every encoding of FCOMP that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
FCOMP m32fp FCOMP_ST0_MEMmem32realD8 /3FPU
FCOMP st(i) FCOMP_ST0_X87D8 D8+iFPU
FCOMP st(i) undocumented FCOMP_ST0_X87_DCD1DC D8+iFPU
FCOMP st(i) undocumented FCOMP_ST0_X87_DED0DE D0+iFPU
FCOMP m64fp FCOMP_ST0_MEMm64realDC /3FPU

Operation

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

Memory forms
if empty(st0):
    underflow()
    x = 3                        # unordered
else:
    x = comi(st0, src)           # a single or a double, exactly;
                                 # any NaN raises IE
c3 = x in (2, 3)                 # set with IE or DE unmasked too
c2 = x == 3
c0 = x in (1, 3)
c1 = 0
pop()                            # not with IE or DE unmasked

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

Register forms
if empty(st0) or empty(src):
    underflow()
    x = 3                        # unordered
else:
    x = comi(st0, src)           # any NaN raises IE
c3 = x in (2, 3)                 # set with IE or DE unmasked too
c2 = x == 3
c0 = x in (1, 3)
c1 = 0
pop()                            # not with IE or DE unmasked

Run on AMD Zen 5 (EPYC 9645): 19 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
FCOMP m32fp FCOMP m64fp
m32/64fpexplicitread
x87 register stackimplicitpop
x87 status wordimplicitwrite
FCOMP st(i)
st(i)explicitread
x87 register stackimplicitpop
x87 status wordimplicitwrite

Flags

M modified; blank: not affected. How to read.
C0C1C2C3
All forms
MMMM

Attributes

What else XED records about the forms. How to read.

All forms
may abort a TSX transaction

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
X87

FPU
CPUID.01H:EDX[0] FPU

Every x86-64 processor in XED’s model and Zen 3 to Zen 6

More x87 instructions

All 90 x87 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. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2A, page 3-324 (FCOM/FCOMP/FCOMPP)
  4. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 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 text is our own.