Commit eefe143b by H.J. Lu Committed by H.J. Lu

Update -march=native/-mtune=native for Intel Core 2 and Core i7.

2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/driver-i386.c (host_detect_local_cpu): Updated
	for Intel Core 2 and Core i7.

From-SVN: r166197
parent 894fd6f2
2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/driver-i386.c (host_detect_local_cpu): Updated
for Intel Core 2 and Core i7.
2010-11-02 Maxim Kuvyrkov <maxim@codesourcery.com>
Model decoder of Core 2/i7 for multipass scheduling.
......@@ -554,21 +554,21 @@ const char *host_detect_local_cpu (int argc, const char **argv)
case 0x1e:
case 0x1f:
case 0x2e:
/* FIXME: Optimize for Nehalem. */
cpu = "core2";
/* Nehalem. */
cpu = "corei7";
break;
case 0x25:
case 0x2f:
/* FIXME: Optimize for Westmere. */
cpu = "core2";
/* Westmere. */
cpu = "corei7";
break;
case 0x17:
case 0x1d:
/* Penryn. FIXME: -mtune=core2 is slower than -mtune=generic */
/* Penryn. */
cpu = "core2";
break;
case 0x0f:
/* Merom. FIXME: -mtune=core2 is slower than -mtune=generic */
/* Merom. */
cpu = "core2";
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment