<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy" -->

---
title: Analyzing The FScale Instruction In Intel’s 8087 FPU
description: Ken Shirriff's ongoing reverse-engineering of the Intel 8087 FPU's microcode reveals that the FSCALE instruction, which appears to be a simple powers-of-two...
canonical: https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Analyzing The FScale Instruction In Intel’s 8087 FPU | daily.dev
og:description: Ken Shirriff's ongoing reverse-engineering of the Intel 8087 FPU's microcode reveals that the FSCALE instruction, which appears to be a simple powers-of-two...
og:url: https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy
og:image: https://api.daily.dev/og/posts/gxN1CxTgY.png
og:image:alt: Analyzing The FScale Instruction In Intel’s 8087 FPU
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Analyzing The FScale Instruction In Intel’s 8087 FPU

**[Hackaday](https://daily.dev/sources/hackaday)** · 2 min read · 0 upvotes · 0 comments

## Summary

Ken Shirriff's ongoing reverse-engineering of the Intel 8087 FPU's microcode reveals that the FSCALE instruction, which appears to be a simple powers-of-two scaling operation, actually requires over 140 micro-instructions and three levels of subroutine calls to handle all edge cases. The die shot analysis illustrates the substantial hardware dedicated to this single x87 instruction, highlighting how the 8087's rigorous handling of error conditions and stack management influenced the later IEEE 754 floating point standard.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hackaday.com/2026/09/13/analyzing-the-fscale-instruction-in-intels-8087-fpu>

## Questions this post answers

### How many micro-instructions does the FSCALE instruction use in the Intel 8087 FPU?

The FSCALE instruction in the Intel 8087 FPU requires over 140 micro-instructions and three levels of subroutine calls to fully implement. Although FSCALE appears to be a simple powers-of-two scaling operation, the microcode must handle numerous edge cases, error conditions, and stack management steps, making it far more complex than its high-level simplicity suggests.

_Developers curious about CPU internals can find deep dives like this microcode analysis on daily.dev._

### What historical influence did the Intel 8087 FPU have on floating point standards?

The Intel 8087 FPU's design and implementation approach directly influenced the creation of the IEEE 754 floating point standard. At the time, the 8087 was considered one of the most mathematically accurate FPUs available while remaining affordable enough to be included in consumer PCs, helping establish norms for accurate, robust floating point arithmetic in hardware.

_Anyone tracing the roots of modern floating point behavior can follow this kind of hardware history on daily.dev._

## Similar posts on daily.dev

- [Floating-Point Addition And Subtraction On Intel’s 8087](https://daily.dev/posts/floating-point-addition-and-subtraction-on-intel-s-8087-fpz1aqgb0) · Hackaday · 0 upvotes · 0 comments
- [The Intel 8087 chip: floating-point addition and subtraction](https://daily.dev/posts/the-intel-8087-chip-floating-point-addition-and-subtraction-hekbecibh) · Hacker News · 1 upvotes · 0 comments
- [The Intel 8087 And Conditional Microcode Tests](https://daily.dev/posts/the-intel-8087-and-conditional-microcode-tests-asdopknlo) · Hackaday · 0 upvotes · 0 comments
- [The stack circuitry of the Intel 8087 floating point chip, reverse-engineered](https://daily.dev/posts/the-stack-circuitry-of-the-intel-8087-floating-point-chip-reverse-engineered-damxz0ovc) · Hacker News · 0 upvotes · 0 comments
- [How The Intel 8087 FPU Knows Which Instructions To Execute](https://daily.dev/posts/how-the-intel-8087-fpu-knows-which-instructions-to-execute-xq7uk4umr) · Hackaday · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#hardware](https://daily.dev/tags/hardware), [#reverse-engineering](https://daily.dev/tags/reverse-engineering)

[View this post on daily.dev](https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Analyzing The FScale Instruction In Intel’s 8087 FPU","url":"https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy"},"datePublished":"2026-09-13T14:16:48.725Z","dateModified":"2026-09-13T14:17:08.440Z","description":"Ken Shirriff's ongoing reverse-engineering of the Intel 8087 FPU's microcode reveals that the FSCALE instruction, which appears to be a simple powers-of-two...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0d6266bc8edcef7789fa64ccfa466a43?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0d6266bc8edcef7789fa64ccfa466a43?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hackaday","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hackaday","logo":"https://media.daily.dev/image/upload/s--JhDfhy70--/f_auto,q_auto/v1767541814/logos/hackaday","url":"https://daily.dev/sources/hackaday"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,hardware,reverse-engineering","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hackaday","item":"https://daily.dev/sources/hackaday"},{"@type":"ListItem","position":3,"name":"Analyzing The FScale Instruction In Intel’s 8087 FPU"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy#faq","mainEntity":[{"@type":"Question","name":"How many micro-instructions does the FSCALE instruction use in the Intel 8087 FPU?","acceptedAnswer":{"@type":"Answer","text":"The FSCALE instruction in the Intel 8087 FPU requires over 140 micro-instructions and three levels of subroutine calls to fully implement. Although FSCALE appears to be a simple powers-of-two scaling operation, the microcode must handle numerous edge cases, error conditions, and stack management steps, making it far more complex than its high-level simplicity suggests. Developers curious about CPU internals can find deep dives like this microcode analysis on daily.dev."}},{"@type":"Question","name":"What historical influence did the Intel 8087 FPU have on floating point standards?","acceptedAnswer":{"@type":"Answer","text":"The Intel 8087 FPU's design and implementation approach directly influenced the creation of the IEEE 754 floating point standard. At the time, the 8087 was considered one of the most mathematically accurate FPUs available while remaining affordable enough to be included in consumer PCs, helping establish norms for accurate, robust floating point arithmetic in hardware. Anyone tracing the roots of modern floating point behavior can follow this kind of hardware history on daily.dev."}}]}
```

