From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22819 invoked by alias); 28 Jan 2002 00:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22802 invoked by uid 71); 28 Jan 2002 00:06:00 -0000 Date: Sun, 27 Jan 2002 16:06:00 -0000 Message-ID: <20020128000600.22801.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Nathan Dorfman Subject: Re: target/2732: Interaction with Solaris assembler and SPARCV9 instructions Reply-To: Nathan Dorfman X-SW-Source: 2002-01/txt/msg00935.txt.bz2 List-Id: The following reply was made to PR target/2732; it has been noted by GNATS. From: Nathan Dorfman 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