Settings

Theme

Michael Abrash doubled Quake framerste

fabiensanglard.net

52 points by chunkles a month ago · 9 comments

Reader

Dork1234 a month ago

By going to godbolt Just realized how hard it is to generate x87 FPU code these days. Almost all supported compilers are outputing XMM? SSE instructions these days.

DerekL a month ago

Title has a typo, should say “framerate”.

  • chunklesOP a month ago

    The mods must have changed the title because I submitted it with the title "How Michael Abrash doubled Quakes framerate" matching the actual article title.

markus_zhang a month ago

Just curious, given that Pentium arch might still be relevant, than 486/487. How much of this optimization is still relevant today?

  • mwkaufma a month ago

    Thinking about fpu pipeline parallelism/stalls still matter, though more often by hinting an optimizing compiler + verifying the output by inspection, than by inlining asm itself.

  • burnt-resistor a month ago

    487 is a 486dx/dlc-compatible (FPU enabled) replacement for the 486sx/slc (FPU disabled).

    There are actually several flavors of x87 ISA: 8087, 80287, and 80387. Every 386+ chip supports the 387 ISA. The 287 is almost the same as the 387. The 8087 is almost a strict subset with some differences. There were also Weitek math coprocessors that were entirely different. The IIT 3C87 was an odd bird that supported the 387 ISA and some other instructions.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection