Article View: gnu.gcc.help
Article #53168Is there a gas that supports 68040 specific instructions?
From: K. Richard Pixley
Date: Sun, 01 Mar 1992 00:25
Date: Sun, 01 Mar 1992 00:25
47 lines
3185 bytes
3185 bytes
Date: 27 Feb 92 16:19:29 GMT
From: bal@amber.westford.ccur.com (Bruce Lutz)
Sender: help-gcc-request@prep.ai.mit.edu
Reply-To: bal@amber.westford.ccur.com (Bruce Lutz)
When compiling using gcc v2.0 with target -m68040-only on a
Concurrent 7000 machine, gas v1.38.1 does not support the 68040
rounding instructions such as fsadd or fdadd. Is there a version
of gas that supports these instructions?
Sort of. It's up for pre-alpha testing right now from cygnus.com
(140.174.1.1):~ftp/pub/gas-1.9* whatever has the highest number when
you look.
Unfortunately, I have this in the code...
/* FIXME-NOW: The '040 book that I have claims that these should be
coded exactly like fadd. In fact, the table of opmodes calls them
fadd, fsadd, fdadd. That can't be right. If someone can give me the
right encoding, I'll fix it. By induction, I *think* the right
encoding is 38 & 3c, but I'm not sure.
in the mean time, if you know the encoding for the opmode field, you
can replace all of the "38),"'s and "3c),"'s below with the corrected
values and these guys should then just work. xoxorich. 31Aug91 */
#ifdef comment
{"fsabsb", two(0xF000, 0x5838), two(0xF1C0, 0xFC7F), "Ii;bF7", m68040 },
{"fsabsd", two(0xF000, 0x5438), two(0xF1C0, 0xFC7F), "Ii;FF7", m68040 },
{"fsabsl", two(0xF000, 0x4038), two(0xF1C0, 0xFC7F), "Ii;lF7", m68040 },
{"fsabsp", two(0xF000, 0x4C38), two(0xF1C0, 0xFC7F), "Ii;pF7", m68040 },
{"fsabss", two(0xF000, 0x4438), two(0xF1C0, 0xFC7F), "Ii;fF7", m68040 },
{"fsabsw", two(0xF000, 0x5038), two(0xF1C0, 0xFC7F), "Ii;wF7", m68040 },
{"fsabsx", two(0xF000, 0x0038), two(0xF1C0, 0xE07F), "IiF8F7", m68040 },
{"fsabsx", two(0xF000, 0x4838), two(0xF1C0, 0xFC7F), "Ii;xF7", m68040 },
{"fsabsx", two(0xF000, 0x0038), two(0xF1C0, 0xE07F), "IiFt", m68040 },
{"fdabsb", two(0xF000, 0x583c), two(0xF1C0, 0xFC7F), "Ii;bF7", m68040},
{"fdabsd", two(0xF000, 0x543c), two(0xF1C0, 0xFC7F), "Ii;FF7", m68040},
{"fdabsl", two(0xF000, 0x403c), two(0xF1C0, 0xFC7F), "Ii;lF7", m68040},
{"fdabsp", two(0xF000, 0x4C3c), two(0xF1C0, 0xFC7F), "Ii;pF7", m68040},
{"fdabss", two(0xF000, 0x443c), two(0xF1C0, 0xFC7F), "Ii;fF7", m68040},
{"fdabsw", two(0xF000, 0x503c), two(0xF1C0, 0xFC7F), "Ii;wF7", m68040},
{"fdabsx", two(0xF000, 0x003c), two(0xF1C0, 0xE07F), "IiF8F7", m68040},
{"fdabsx", two(0xF000, 0x483c), two(0xF1C0, 0xFC7F), "Ii;xF7", m68040},
{"fdabsx", two(0xF000, 0x003c), two(0xF1C0, 0xE07F), "IiFt", m68040},
#endif /* comment */
Technical Details
Message-ID:
<9203010025.AA29193@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!richReferences:
<62800@masscomp.westford.ccur.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,12eb2fdd15b0227d X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-02-29 16:45:53 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!rich From: rich@cygnus.com (K. Richard Pixley) Subject: Is there a gas that supports 68040 specific instructions? Message-ID: <9203010025.AA29193@cygnus.com> Sender: daemon@cis.ohio-state.edu Reply-To: rich@cygnus.com Organization: Cygnus Support - Palo Alto, CA +1 415 322 3811 References: <62800@masscomp.westford.ccur.com> Distribution: gnu Date: Sun, 1 Mar 1992 00:25:36 GMT Lines: 48