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 06:23:58 +0000

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

--- Comment #2 from Zbigniew Jurkiewicz <zbyszek at mimuw dot edu.pl> 
2012-04-03 06:23:58 UTC ---
(In reply to comment #1)
> See http://sourceware.org/binutils/docs-2.22/as/i386_002dMnemonics.html .

The documentation says:

Several x87 instructions, `fadd', `fdiv', `fdivp', `fdivr', `fdivrp', `fmul',
`fsub', `fsubp', `fsubr' and `fsubrp', are implemented in AT&T System V/386
assembler with different mnemonics from those in Intel IA32 specification.

In the case of fdivrp it is not true.  The mnemonic IS ACCEPTED, but the 
generated opcodes for fdivrp and fdivp (when called without arguments)
are swapped.  No other assembler does this.

-- 
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]