This is the mail archive of the gcc-patches@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: tuning gcc for AMDFAM10 processor (patches 1 to 11) checked in


> I also noticed that driver-i386 wasn't updated, so -mtune=native won't
> pick amdfam10.
> 
> Honza
> 

Honza,

Thanks for pointing this. The attached patch should fix this adding
-mtune=native for amdfam10. I have bootstrapped and tested on x86_64.

2007-02-08  Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>

        * config/i386/driver-i386.c: Turn on -mtune=native
        for AMDFAM10.
        (bit_SSE4a): New.

Thanks,
- Dwarak

Attachment: amdfam10-mtune-native.patch
Description: amdfam10-mtune-native.patch


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