Get the latest tech news

Reverse Engineering the Constants in the Pentium FPU


Intel released the powerful Pentium processor in 1993, establishing a long-running brand of high-performance processors. 1 The Pentium incl...

Earlier Intel chips used binary algorithms called CORDIC, but the Pentium switched to polynomials to approximate these transcendental functions much faster. However, the Pentium takes advantage of its fast multiplier and larger ROM and uses polynomials instead, computing results two to three times faster than the 486 algorithm. Because the polynomial constants are optimized and my ROM data has bit errors, my program needed checks for inexact matches, both numerically and bitwise.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of pentium

pentium

Photo of reverse

reverse

Photo of constants

constants

Related news:

News photo

The Pentium FDIV bug, reverse-engineered

News photo

An Audacious Plan to Halt the Internet’s Enshittification and Throw It Into Reverse

News photo

Dethrace: Reverse engineering the 1997 game "Carmageddon" (2023)