Show HN: I486SX_soft_FPU – Software FPU Emulator for NetBSD 10 on 486SX
Published on: 2025-08-11 17:04:13
FPU Emulation Revival for i486SX on NetBSD
This retro-computing project restores support for x87 floating-point unit (FPU) emulation in the NetBSD kernel, targeting legacy 486SX-class processors without hardware FPUs. It brings back the original MATH_EMULATE option into NetBSD 10.x and beyond, as well as reverts and reworks the changes introduced in commit dfe83e0, which removed FPU emulation support from the kernel.
Disclaimer
This project is a work in progress and may contain bugs or incomplete functionality. Use at your own risk. The author is not responsible for any issues caused by its use.
Notes
fyl2x seems to work properly on FPU, but when executed from libc , log functions bring incorrect results
seems to work properly on FPU, but when executed from , functions bring incorrect results Some operations have hard-to-detect issues with precision
x87 FPU Emulated Instructions
🧠 Control & Initialization
Instruction Status Description Opcode Example fninit ✅ OK Initialize FPU
... Read full article.