🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.intel
Article #179

486 FP problem

#179
From: Guillermo J. Rozas
Date: Wed, 05 Aug 1992 02:08
32 lines
1373 bytes
I've run into a problem with my back-end for the MIT Scheme compiler
for the 386+387/486 architecture.

The i486 Microprocessor Programmer's Reference Manual (Osborne
McGraw-Hill's version) lists the following line in the description of
the FDIV instruction (pg. 26-87):

DC F8 + i	FDIV ST(i),ST	73	70	Replace ST(i) with ST : ST(i)

and the following line in the description of the FDIVR instruction (pg. 26-89):

DC F0 + i	FDIVR ST(i),ST	73	70	Divide ST(i) by ST

Where the columns mean

Opcode		Instruction	Clocks	Clocks*	Description

					Clocks* = Concurrent Execution.


I have reason to believe that the opcodes in these two instructions
are swapped, that is, "DC F8+i" corresponds to FDIVR and "DC F0+i"
corresponds to FDIV.

Can anyone confirm this?  

If so, is there a list of bugs in the documentation (or the hardware)
available anywhere on the net?  

Thanks.

PS: Please reply by e-mail.  I don't usually read this newsgroup.
Technical Details
Message-ID: <JINX.92Aug4220859@rolex.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!jinx

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!jinx
From: jinx@zurich.ai.mit.edu (Guillermo J. Rozas)
Newsgroups: comp.sys.intel
Subject: 486 FP problem
Message-ID: <JINX.92Aug4220859@rolex.ai.mit.edu>
Date: 5 Aug 92 02:08:59 GMT
Sender: news@ai.mit.edu
Reply-To: jinx@zurich.ai.mit.edu
Distribution: usa
Organization: M.I.T. Artificial Intelligence Lab.
Lines: 34