This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: changing the SPARC default


On Wed, 2006-03-15 at 20:10 -0800, Alexey Starovoytov wrote:
> Hi,
> 
> 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

AFAICT, v7's are still in use in embedded platforms.

> 1st choice (the best):
>  - change the default for all sparc platforms

This is likely to break toolchains targetting embedded targets. I am
almost 100% sure it would break sparc-rtems).

> 2nd:
>  - 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
I don't have an opinion on Solaris or Linux.

Ralf



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]