target/2732: Interaction with Solaris assembler and SPARCV9 instructions
Nathan Dorfman
nathan@rtfm.net
Sun Jan 27 16:06:00 GMT 2002
The following reply was made to PR target/2732; it has been noted by GNATS.
From: Nathan Dorfman <nathan@rtfm.net>
To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: target/2732: Interaction with Solaris assembler and SPARCV9 instructions
Date: Thu, 10 Jan 2002 15:38:11 -0500
Yep! -mcpu=ultrasparc has always worked great. I found it a bit odd
that -mcpu=v9 would cause the compiler to generate the V9 instructions
but not pass the flag to the assembler to grok them there. If this is
the intended behavior, then there is no bug!
Thanks for the followup.
On Fri, Jan 04, 2002 at 05:37:36AM -0000, rodrigc@gcc.gnu.org wrote:
Hi,
> Synopsis: Interaction with Solaris assembler and SPARCV9 instructions
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Thu Jan 3 21:37:35 2002
> State-Changed-Why:
> Refer to the release notes at:
> http://gcc.gnu.org/install/specific.html#*-*-solaris2*
>
> You need to use GCC 3.1 and up.
> Using -mtune=ultrasparc is the safest.
>
> If you want to use -mcpu=v9, then you need to pass
> the assembler -xarch=v9a.
> So you need to do something like:
> gcc -Wa,-xarch=v9a
>
> See:
> http://gcc.gnu.org/ml/gcc-bugs/2001-05/msg00346.html
>
> Does this work for you?
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2732
--
"Just because a few of us can read and \ \ \\ Nathan Dorfman
write and do a little math, that doesn't \ \\ nathan@rtfm.net
mean we deserve to take over the universe." \ \ \\ PGP Key 0832DB12
More information about the Gcc-prs
mailing list