]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (override_options): Don't imply 3DNow!
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 Feb 2004 23:22:49 +0000 (00:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 Feb 2004 23:22:49 +0000 (00:22 +0100)
* config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
by default.

From-SVN: r78059

gcc/ChangeLog
gcc/config/i386/i386.c

index a2b412f460eb650d2e199b51285e60ed33675907..e7ed408448a6c2b6c98dafeafb211dfba56854c4 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
+       by default.
+
 2004-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * config/s390/s390.md ("divmodtidi3"): Use canonical RTL.
index f7e6b7955930324cc11da8381190f7275d473a19..3e5556d08e021b1c0292ad3e4044ea368fb4f850 100644 (file)
@@ -1126,6 +1126,8 @@ override_options (void)
                                      | PTA_3DNOW_A | PTA_SSE},
       {"athlon-mp", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
                                      | PTA_3DNOW_A | PTA_SSE},
+      {"x86-64", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_64BIT
+                              | PTA_SSE | PTA_SSE2 },
       {"k8", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT
                                      | PTA_3DNOW_A | PTA_SSE | PTA_SSE2},
       {"opteron", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT
@@ -1168,7 +1170,7 @@ override_options (void)
   if (!ix86_tune_string)
     ix86_tune_string = cpu_names [TARGET_CPU_DEFAULT];
   if (!ix86_arch_string)
-    ix86_arch_string = TARGET_64BIT ? "k8" : "i386";
+    ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386";
 
   if (ix86_cmodel_string != 0)
     {