This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Default Solaris 2/x86 to -xarch/-xtune=pentium4
Richard Guenther <rguenther@suse.de> writes:
>> Ok, thanks. Do I need release manager approval for the corresponding
>> patch? i?86-*-solaris2* not being a primary or seconday platform, I
>> don't think so.
>
> You can adjust it now.
Thanks. Here's what I've committed to mainline and 4.5 branch after
regtesting on i386-pc-solaris2.10 on the 4.5 branch.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2010-04-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config.gcc (i[34567]86-*-solaris2*): Default with_tune_32 to
generic.
Index: config.gcc
===================================================================
--- config.gcc (revision 158049)
+++ config.gcc (working copy)
@@ -1236,10 +1236,10 @@
;;
i[34567]86-*-solaris2*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h"
- # Set default arch and tune to pentium4 like the other i386 targets,
- # although config.guess defaults to i386-pc-solaris2*.
+ # Set default arch_32 to pentium4, tune_32 to generic like the other
+ # i386 targets, although config.guess defaults to i386-pc-solaris2*.
with_arch_32=${with_arch_32:-pentium4}
- with_tune_32=${with_tune_32:-pentium4}
+ with_tune_32=${with_tune_32:-generic}
case ${target} in
*-*-solaris2.1[0-9]*)
tm_file="${tm_file} sol2-10.h"