# Intel's 8087 made floating-point addition nearly 100 times faster

Original title: The Intel 8087 chip: floating-point addition and subtraction

> Hacker News story 50142449 · language: en · submitted 2026-10-18
> Web version: https://zeli.app/story/50142449
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 121 · by [pwg](<https://news.ycombinator.com/user?id=pwg>) · 💬 35
[original](<https://www.righto.com/2026/10/8087-addition-subtraction-microcode.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50142449>)

## Summary

In 1980, Intel's 8087 coprocessor sped up floating-point addition by almost 100x over the 8086. Ken Shirriff decaps a chip, traces its microcode, and walks through the 69-bit adder, barrel shifter, and exponent logic that align binary points, normalize results, and handle infinities, NaNs, and signed zeros.

## Key quote

> The 8087 provided a spectacular speed improvement over the 8086 processor, speeding up addition by a factor of almost 100, and complicated operations by even more.

## HN discussion (35 comments)

### [WalterBright](<https://news.ycombinator.com/item?id=50143956>)

> I always thought the 8087 was way cool, but it never really caught on. Early versions of Win32 did not save the 8087 registers on a context switch. I called up some people at Microsoft to please not destroy the 8087, and they relented and preserved the registers.
>
> I've always been proud to support the 8087 with my compilers, and am baffled why the numerics people ignore it.

### [dsign](<https://news.ycombinator.com/item?id=50144280>)

> Kind of shocking that a 1980 chip could do 80 bits floating points. It makes me a little mad at all of those microcontrollers from this year, 46 years later that ship without floating point support or, at best, 32 bits, but they do come with a "secure island" and a radio capable to ring ET.

### [kens](<https://news.ycombinator.com/item?id=50142957>)

> Author here with another 8087 article. What part of the 8087 should I look at next?

### [kar1181](<https://news.ycombinator.com/item?id=50144733>)

> Gosh thank goodness for Ken, a beacon of light in a sea of slop. For all these years, and countless hours of posts and videos, thank you.

---

## Cite

- Page: https://zeli.app/story/50142449
- Date: 2026-10-18
- Source: righto.com (https://www.righto.com/2026/10/8087-addition-subtraction-microcode.html)
- Hacker News: https://news.ycombinator.com/item?id=50142449

## Other languages

- zh: https://zeli.app/zh/story/50142449 · markdown: https://zeli.app/zh/story/50142449.md
- ja: https://zeli.app/ja/story/50142449 · markdown: https://zeli.app/ja/story/50142449.md
- ko: https://zeli.app/ko/story/50142449 · markdown: https://zeli.app/ko/story/50142449.md
- de: https://zeli.app/de/story/50142449 · markdown: https://zeli.app/de/story/50142449.md
- es: https://zeli.app/es/story/50142449 · markdown: https://zeli.app/es/story/50142449.md
- ru: https://zeli.app/ru/story/50142449 · markdown: https://zeli.app/ru/story/50142449.md
