← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Reverse-Engineering Intel 8087 FSCALE Microcode Reveals Complexity and Hidden Features

🔄 Updated 1h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • FSCALE instruction microcode in 8087 was reverse-engineered.
  • It uses over 140 micro-instructions and three subroutine levels.
  • Analysis reveals details of 8087's shifter, adder, and exponent converter.
  • A hidden feature of the 8087 chip was discovered.

The 8087 Floating-Point Coprocessor

Introduced in 1980, Intel's 8087 floating-point coprocessor standardized floating-point arithmetic, addressing the previous lack of compatibility and numerical stability issues across computer manufacturers. It significantly accelerated floating-point operations in applications like spreadsheets and CAD, becoming a foundational standard for subsequent floating-point systems.

Reverse-Engineering the FSCALE Instruction

A group known as the Opcode Collective is engaged in reverse-engineering the 8087's microcode. Recent progress includes a detailed examination of the FSCALE (Floating-point Scale) instruction. This instruction scales a number by a power of two, offering a faster alternative to multiplication.

Unexpected Complexity in FSCALE

Despite appearing simple, the FSCALE instruction's microcode is complex, utilizing over 140 micro-instructions and three levels of subroutine calls. This complexity is necessary to manage numerous special cases during scaling operations. The analysis of FSCALE's microcode provides insights into the 8087's internal architecture, including its shifter, adder, and exponent converter.

Methodology and Discoveries

The reverse-engineering process involved creating a high-resolution image of an 8087 chip using a microscope. This allowed for the examination of the microcode ROM, which contains 1648 micro-instructions, the microcode engine, and the datapath circuitry. The detailed study of the FSCALE microcode also led to the discovery of a previously hidden feature within the 8087 chip.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~11 min · 9 stories · Sep 12

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Primary sources

GitHub a-mcego/granite

Reporting from

Researchers have reverse-engineered the microcode for the FSCALE instruction in Intel's 8087 floating-point coprocessor. This analysis reveals the instruction's complex implementation, involving over 140 micro-instructions and multiple subroutine calls to handle special cases, and highlights various internal components of the 8087.