x87 floating point in 1995-2005 PC games murders ARM emulators — FEX's new stack optimization pass
lauriewired · x · 2026-10-23
- lauriewired highlights that almost every PC game from 1995-2005 relies on Intel's x87 floating-point extension, which uses 80-bit extended precision internally — a hidden performance trap when emulating x86 on ARM.
- FEX, an ARM64 emulator of Intel assembly, is doing the best public work in this space. Paulo Matos published a detailed post on FEX's new x87 stack optimization pass: the x87 FPU uses 8 registers operated as a stack, with the top tracked via the TOS field, and the emulator must reproduce this stack semantics efficiently.
- The optimization landed in FEX on July 22, 2024, with speedup results shown for Half-Life and other games.
More from Infra
- After Mozilla compromise, Rust devs eye "remediation speed" as the next hillclimb — charliermarsh · 2026-10-23
- Running an 816B MoE on 10× A40s: layer split beats tensor parallelism 4.6× on prefill — fuzhongkai · 2026-10-23
- Migrating AI workloads often means 70%+ redevelopment, warns cloud architect — DavidLinthicum · 2026-10-23
- Underdog partners with NVIDIA: Saluki 27B claims Opus 4.6 parity in under 8 GB — heyneighbor · 2026-10-23
- Perplexity Computer now runs fully local on Mac — model and agent both on-device — heyneighbor · 2026-10-23
- Google's Agent Compute Engine gives each Gemini agent a hardware-isolated micro VM — The Decoder · 2026-10-23