4 ms·
AFAIK, the FPU was a stack calculator. So you pushed things on and ran calculations on the stack. https://en.wikibooks.org/wiki/X86_Assembly/Floating_Point htt
by lallysingh 2y ago
AFAIK, the FPU was a stack calculator. So you pushed things on and ran calculations on the stack. https://en.wikibooks.org/wiki/X86_Assembly/Floating_Point https://en.wikibooks.org/wiki/X86_Assembly/Floating_Point
- Sesse__ 2y agoIt's only a stack machine in front, really. Behind-the-scenes, it's probably just eight registers (the stack is a fixed size, it doesn't spill to memory or anything).
- lallysingh 2y agoDefinitely was 8 regs: https://intranetssn.github.io/www.ssn.net/twiki/pub/CseIntranet/CseAEC6504/8087.pdf https://intranetssn.github.io/www.ssn.net/twiki/pub/CseIntra... also where you'd see 'long double'