This is the mail archive of the
mailing list for the GCC project.
Re: changing the SPARC default
- From: ja2morri at csclub dot uwaterloo dot ca (James A. Morrison)
- To: Alexey Starovoytov <alexey dot starovoytov at sun dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Thu, 16 Mar 2006 02:33:15 -0500
- Subject: Re: changing the SPARC default
- References: <Pine.GSO.4.31.0603151916070.3186-100000@boojum>
Alexey Starovoytov <email@example.com> writes:
> The default architecture for GCC SPARC is V7.
> What do gcc sparc developers think about changing it to V8PLUS?
> Few things to consider:
> - v7 is legacy
> . used in old Sun's sun4c systems
> . 32-bit only
> . no integer mul/div insns
> - first 64-bit SPARC was made in 1995
> . I guess it would be a valid assumption that there are
> not so many 32-bit SPARC chips left
> - there is a big performance gap between v7 and v8plus
> . I guess no need to explain the importance of 64-bit registers
> 1st choice (the best):
> - change the default for all sparc platforms
> - change the default for Solaris 7+ and linux
> 3rd (100% safe):
> - change the default for Solaris 10+
> Also 64-bit Linux doesn't have to mean 64-bit (v9) gcc compiler,
> so at the same time it would be good to change it to v8plus as well.
> All that changes can be done by easily tweaking gcc/config.gcc
> by adding with_cpu=v9
Debian has been running with V8PLUS as the default since the sarge release
cycles started. I.e. years.