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> 2010-11-02 Maxim Kuvyrkov <maxim@codesourcery.com>
Model decoder of Core 2/i7 for multipass scheduling. Model decoder of Core 2/i7 for multipass scheduling.
...@@ -554,21 +554,21 @@ const char *host_detect_local_cpu (int argc, const char **argv) ...@@ -554,21 +554,21 @@ const char *host_detect_local_cpu (int argc, const char **argv)
case 0x1e: case 0x1e:
case 0x1f: case 0x1f:
case 0x2e: case 0x2e:
/* FIXME: Optimize for Nehalem. */ /* Nehalem. */
cpu = "core2"; cpu = "corei7";
break; break;
case 0x25: case 0x25:
case 0x2f: case 0x2f:
/* FIXME: Optimize for Westmere. */ /* Westmere. */
cpu = "core2"; cpu = "corei7";
break; break;
case 0x17: case 0x17:
case 0x1d: case 0x1d:
/* Penryn. FIXME: -mtune=core2 is slower than -mtune=generic */ /* Penryn. */
cpu = "core2"; cpu = "core2";
break; break;
case 0x0f: case 0x0f:
/* Merom. FIXME: -mtune=core2 is slower than -mtune=generic */ /* Merom. */
cpu = "core2"; cpu = "core2";
break; break;
default: 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