RC RANDOM CHAOS

Mysterious x86 Instruction Appears and Vanishes in Intel Docs

· via Hacker News

Original source

Who is vfmaddrnd231pd?

Hacker News →

The article investigates a peculiar instruction, vfmaddrnd231pd, documented in Intel’s Software Development Manual. This instruction is part of the FMA (Fused Multiply-Add) set and is unique because it allows rounding mode control on a per-instruction basis, potentially speeding up algorithms that rely on rounding. However, the instruction does not actually exist in practice. The GNU assembler does not recognize it, and attempting to use it on a compatible CPU results in an ‘Undefined Instruction’ error.

Despite its presence in the 2024 edition of the Intel SDM, the instruction is absent in the 2026 edition. The author speculates that Intel may have intended to add the vfmaddrnd* set but encountered issues, leading to its removal from the CPU without proper documentation updates. The article highlights the discrepancies and the lack of clarity surrounding this instruction.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.