This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ultrasparc3 optimisation
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: "Jason dot Beech-Brandt at ed dot ac dot uk" <Jason dot Beech-Brandt at ed dot ac dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 16 Nov 2005 17:26:08 +0100
- Subject: Re: ultrasparc3 optimisation
- References: <Pine.GSO.4.58.0511161552580.12212@deedee>
On 11/16/05, Jason.Beech-Brandt@ed.ac.uk <Jason.Beech-Brandt@ed.ac.uk> wrote:
> Hi,
>
> I'm using gcc-4.0.1 on both a UltraSparc3 and UltraSparc3cu systems. When
> I compile code on the UltraSparc3 system using -mcpu=ultrasparc3 and run
> the file command on the executable I get
>
> hello: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+
> Required, UltraSPARC1 Extensions Required, dynamically linked, not
> stripped
First, this question is more suited to gcc-help mailinglist. Second, the switch
you want to use is -march=ultrasparc3 which changes the used instruction-set.
-mcpu only tunes for ultrasparc3 without using instructions that are
not available
for the default cpu used.
Richard.