Ken Shirriff
banner
righto.com
Ken Shirriff
@righto.com
Computer history. Reverse-engineering old chips. Restored Apollo Guidance Computer, Alto. Ex-Google, Sun, Msft. So-called boffin.
The 8087 was much more advanced than previous floating point. In particular, it was designed by Prof. Kahan, a floating-point expert, and was much more rigorous and accurate. It became the IEEE 754 standard, which almost all computers now use.
ieeemilestones.ethw.org/Milestone-Pr...
Milestone-Proposal:Intel 8087 Math Coprocessor
ieeemilestones.ethw.org
December 11, 2025 at 8:17 PM
I looked at the AM9511 datasheet. It's similar to the 8087 in that they are both floating-point chips that do arithmetic as well as transcendental functions, and both use a stack. However, the 9511 uses 16/32-bit floats, while the 8087 uses much larger floats, up to 80 digits.
December 11, 2025 at 8:15 PM
No, I haven't looked at that chip yet.
December 9, 2025 at 7:11 PM
For more on the stack circuitry in the 8087, see my blog post: www.righto.com/2025/12/8087...
The stack circuitry of the Intel 8087 floating point chip, reverse-engineered
Early microprocessors were very slow when operating with floating-point numbers. But in 1980, Intel introduced the 8087 floating-point copro...
www.righto.com
December 9, 2025 at 6:38 PM
Intel was hesitant to produce the 8087 chip, considering it complex, risky, and with an unknown market. Intel's Israel site took on the project; the die is marked "i/IL". The chip was a highly profitable success. Now, almost all computers use floating-point systems based on the 8087.
December 9, 2025 at 6:38 PM
This diagram, based on the 8087 patent, shows the implementation of the stack. You saw the registers (yellow) earlier. This photo shows the three-bit circuitry that controls the stack (purple, green, and blue). The schematic shows one bit in detail.
December 9, 2025 at 6:38 PM
Each bit is stored in a "static RAM" cell, consisting of two inverters in a loop. This circuit has two stable states, holding a 0 or a 1. The implementation is complicated: silicon with polysilicon lines on top to make transistors. Horizontal metal wires connect everything.
December 9, 2025 at 6:38 PM
Unlike most processors, the 8087 organizes its registers into a "stack", pushing numbers onto the top of the stack and popping them off. Here's a close-up of the eight registers, organized in a grid of cells. Each register holds an 80-bit number, so the registers are very tall.
December 9, 2025 at 6:38 PM
Not yet...
November 22, 2025 at 7:14 PM
My latest blog post describes the wayward transistor and two other curiosities in the 386 processor's standard cell logic, so read it for details.

www.righto.com/2025/11/unus...
Unusual circuits in the Intel 386's standard cell logic
I've been studying the standard cell circuitry in the Intel 386 processor recently. The 386, introduced in 1985, was Intel's most complex pr...
www.righto.com
November 22, 2025 at 4:56 PM
Standard cells sped up the design of the 386 and the chip was completed ahead of schedule. Pat Gelsinger was one of the key people behind the use of standard cells in the 386 processor. Decades later, he became CEO of Intel.
November 22, 2025 at 4:56 PM
In standard cell logic, all the transistors are in orderly stripes. Except one that's out of place below, in the middle of the wiring region. What's going on? I think it's a bug fix. Instead of redoing all the circuitry, someone realized they could patch an extra transistor into an empty spot!
November 22, 2025 at 4:56 PM
It's much easier to build circuits with standard cells. Instead of manually arranging each transistor, you feed a description of the logic into a computer. It places the cells into rows, and then routes the wires to connect the cells. In 1985, this took many hours on an IBM mainframe computer.
November 22, 2025 at 4:56 PM
The previous photo shows the 386 processor under a microscope. I've highlighted the regions that use standard cells and the layout was automated. Simple logic blocks (the "standard cells") are arranged in rows, with wiring between the rows. This creates a distinctive striped pattern.
November 22, 2025 at 4:56 PM
MiniZinc solver page: www.minizinc.org
Link to Pips: www.nytimes.com/games/pips
The article on HN that inspired me to investigate constraint solvers: buttondown.com/hillelwayne/...
Play Pips, our new dominoes game for all skill levels.
Every domino has a spot. Can you find where each belongs?
www.nytimes.com
October 18, 2025 at 4:20 PM
If you're a programmer, I recommend looking at constraint solvers. This different paradigm will broaden your horizons. It's also much easier than I expected. See my blog for details: www.righto.com/2025/10/solv...
Solving the NYTimes Pips puzzle with a constraint solver
The New York Times recently introduced a new daily puzzle called Pips . The idea is to place a set of dominoes on a grid, satisfying variou...
www.righto.com
October 18, 2025 at 4:20 PM
MiniZinc gave me a solution to the Pips puzzle in 100 milliseconds. Admittedly, this puzzle is rated "easy", but MiniZinc quickly solves hard puzzles too. Internally, MiniZinc uses complicated algorithms such as backjumping and constraint propagation, but I don't need to worry about that.
October 18, 2025 at 4:20 PM
I used a constraint solver called MiniZinc. I wrote constraints for the problem: the conditions on the grid, the shape of the grid, and the values of the dominoes. A few more constraints defined how the problem works. I didn't need to write algorithms because MiniZinc solves automatically.
October 18, 2025 at 4:20 PM
If you want to know more about the IBM 1403 printer, I wrote about how we played music on it:
www.righto.com/2019/09/risk...
I also made an animation to explain the extraordinarily complicated timing between the hammers and the chain to print characters: static.righto.com/ibm1401/prin...
Risky line printer music on a vintage IBM mainframe
At the Computer History Museum , we recently obtained card decks for a 50-year-old computer music program. Back then, most computers didn't...
www.righto.com
October 2, 2025 at 9:54 PM
The hammers looked okay, but @tubetime.bsky.social found that hammer #83 was sticky. He cleaned it and then the printer worked, just in time for the demo. (Stop by the museum on Wednesdays or Saturdays to see the system in operation.) Photo shows a hammer from an earlier repair.
October 2, 2025 at 9:54 PM
We took the hammer unit out of the printer. Fortunately, IBM designed the printer for (relatively) easy maintenance. Inside the printer are two rails that can be attached to the back. The hammer unit slides out and tilts for access. You can see some hammers and coils; more are underneath.
October 2, 2025 at 9:54 PM