Lobste.rs

Who is vfmaddrnd231pd??

og-1

October 12, 2026 Hacker Newsvfmaddrnd231pd is a unique instruction from the FMA instruction set. Most instructions in that set have mnemonics like vfmadd231pd, but here rnd means something very specific. The Intel Software Development Manual documents it as:VFMADDRND231PD – Fused Multiply-Add of Packed Double-Precision Floating-Point Values with rounding control[…] The immediate byte defines several bit fields that control rounding, DAZ, FTZ, and exception suppression (See Table 5-3).Most x86 floating-point instructions use the global rounding mode and settings, changing which is pretty slow. But vfmaddrnd231pd allows the rounding mode to be controlled on a per-instruction basis, and since FMA can emulate addition, subtraction, and multiplication, this mechanism…

Continue reading at Lobste.rs purplesyringa.moe
Advertisement