From Newsgroup: comp.arch
On 8/8/2026 11:11 AM, Terje Mathisen wrote:
Thomas Koenig wrote:
Just how long can an assembly instruction take on x86?
Hint: MUCH longer than you think, but you have to work
for it.
Details at https://github.com/xoreaxeaxeax/asm-hall-of-shame .
I'm a bit worried by all the FPU denormal microtraps, this really isn't optimal today!
Seemingly, despite the claims, Intel and AMD still haven't found them cost-justified to deal with entirely in the native HW...
Decided not to go into it too much, but I am not entirely convinced
desktop PC FPUs are not also corner-cutting in a few of these same areas
(they exhibit a lot of the same "subtle-yet-detectable" quirks, and
incur performance penalties in a lot of the same scenarios, etc).
Like, they too were like:
Yeah, do a crappier version in hardware, and silently fix up the results
when it fails;
Then add a faster DAZ/FTZ mode, and maybe/maybe-not have the user notice
that now the ULP rounding is now also occasionally (but still
infrequently) off-by-1 (from what an actual strict 0.5 ULP rounding
would have given).
...
Terje
--- Synchronet 3.22a-Linux NewsLink 1.2