[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/12180] New: gas: -mfido doesn't accept floating point instructi
From: |
fthain at telegraphics dot com.au |
Subject: |
[Bug gas/12180] New: gas: -mfido doesn't accept floating point instructions |
Date: |
Tue, 2 Nov 2010 13:15:25 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12180
Summary: gas: -mfido doesn't accept floating point instructions
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: address@hidden
ReportedBy: address@hidden
Target: m68k
Fido1100 has no co-processor support, like MC68000, MC68010 and CPU32. However,
unlike the others, Fido1100 does not accept -m68881 or -m68882.
$ m68k-linux-gnu-as x.s -m68000 -m68882
$ m68k-linux-gnu-as x.s -m68010 -m68882
$ m68k-linux-gnu-as x.s -mcpu32 -m68882
$ m68k-linux-gnu-as x.s -mfido -m68882
x.s: Assembler messages:
x.s:2: Error: selected processor does not have all features of selected
architecture
x.s:2: Error: invalid instruction for this architecture; needs 68020 [68k,
68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330,
68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], 547x [5470,
5471, 5472, 5473, 5474, 5475], 548x [5480, 5481, 5482, 5483, 5484, 5485] --
statement `fmove.l %d1,%fpcr' ignored
$ cat x.s
.text
fmove.l %d1, %fpcr
Also, -mfido should probably default to enabling the math co-processor (like
CPU32), since it also supports emulation through the use of unimplemented
instructions exceptions*.
As the gas man page explains:
The default is to assume a coprocessor for 68020, 68030, and cpu32.
Although the basic 68000 is not compatible with the 68881, a combination
of the two can be specified, since it's possible to do emulation of the
coprocessor instructions with the main processor.
* http://www.innovasic.com/images/stories/fidoTechDocs/fido1100_user_guide.pdf
--
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.
- [Bug gas/12180] New: gas: -mfido doesn't accept floating point instructions,
fthain at telegraphics dot com.au <=
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, fthain at telegraphics dot com.au, 2010/11/02
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, fthain at telegraphics dot com.au, 2010/11/02
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, tg at mirbsd dot de, 2010/11/02
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, fthain at telegraphics dot com.au, 2010/11/02
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, address@hidden, 2010/11/03
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, fthain at telegraphics dot com.au, 2010/11/03
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, drow at sources dot redhat.com, 2010/11/03
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, tg at mirbsd dot de, 2010/11/03
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, fthain at telegraphics dot com.au, 2010/11/03
- [Bug gas/12180] gas: -mfido doesn't accept floating point instructions, fthain at telegraphics dot com.au, 2010/11/03