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: PATCH: PR target/30040: -mtune=native is wrong on Core 2 Duo and Core Duo


Hi HJ,

On Fri, 1 Dec 2006, H. J. Lu wrote:
> 2006-12-01  H.J. Lu  <hongjiu.lu@intel.com>
>
> 	PR target/30040
> 	* config/i386/driver-i386.c: Include "coretypes.h" and "tm.h".
> 	(bit_SSSE3): New.
> 	(host_detect_local_cpu): Check -mtune= vs. -march=. Rewrite
> 	processor detection.
>
> 	* config/i386/i386.h (CC1_CPU_SPEC): Add -mtune=native for
> 	-march=native if there is no -mtune=*.

This is OK for mainline.  Thanks.

Roger
--


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