bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/13937] Incorrect opcode generated for FDIVRP


From: zbyszek at mimuw dot edu.pl
Subject: [Bug gas/13937] Incorrect opcode generated for FDIVRP
Date: Tue, 03 Apr 2012 10:07:32 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13937

--- Comment #4 from Zbigniew Jurkiewicz <zbyszek at mimuw dot edu.pl> 
2012-04-03 10:07:32 UTC ---
Dnia 2012-04-03, wto o godzinie 08:14 +0000, amodra at gmail dot com
pisze:

> --- Comment #3 from Alan Modra <amodra at gmail dot com> 2012-04-03 08:14:57 
> UTC ---
> The documentation is poor, but you're quite wrong in your claim that "No other
> assembler does this."  gas generates the opcodes it does precisely for
> compatibility with an old sysv assembler.

You mean AT&T sysv.  SCO Unix V used Microsoft C compiler and
assembler.  

>   You can't change gas without also
> changing gcc.
> 

Right, and for C programming it does not matter.

But you can change and clarify the documentation to say that 
FDIV opcodes are not ,,changed'', but have their meaning swapped as
compared to Intel and AMD documentation.  as does not describe
machine instruction, so students of assembly programming must use Intel
or AMD manuals - the only source for catalogue of instructions.

ZJ

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]