Fix a typo in host_detect_local_cpu.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2011 19:23:10 +0000 (19:23 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2011 19:23:10 +0000 (19:23 +0000)
2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177204 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/driver-i386.c

index 306d968..caf57be 100644 (file)
@@ -1,3 +1,7 @@
+2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo.
+
 2011-08-02  Richard Henderson  <rth@redhat.com>
 
        PR target/49878
index 5823987..1f6fadf 100644 (file)
@@ -718,7 +718,7 @@ const char *host_detect_local_cpu (int argc, const char **argv)
       const char *avx = has_avx ? " -mavx" : " -mno-avx";
       const char *sse4_2 = has_sse4_2 ? " -msse4.2" : " -mno-sse4.2";
       const char *sse4_1 = has_sse4_1 ? " -msse4.1" : " -mno-sse4.1";
-      const char *lzcnt = has_lzcnt ? " -mlzcnt" : " -mnolzcnt";
+      const char *lzcnt = has_lzcnt ? " -mlzcnt" : " -mno-lzcnt";
 
       options = concat (options, cx16, sahf, movbe, ase, pclmul,
                        popcnt, abm, lwp, fma, fma4, xop, bmi, tbm,