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/49128: -mtune=native generates unsupported instructions


This patch caused a boot-strap failure as it should be -mno-sse4.2 and not -mno-msse4.2, cf. http://gcc.gnu.org/ml/gcc/2011-05/msg00271.html

H.J. Lu wrote:
Here is the updated patch.  It also handles FMA.  OK for trunk and 4.6
if there are no regressions?
[...]

2011-05-23 H.J. Lu<hongjiu.lu@intel.com>

	PR target/49128
	* config/i386/driver-i386.c (host_detect_local_cpu): Always
	add -mno-XXX.  Handle FMA.
[...]
+ const char *sse4_2 = has_sse4_2 ? " -msse4.2" : " -mno-msse4.2";


Tobias


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