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

From-SVN: r78274

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

index 2345d77f1c5696aa89e1df5fa224e2d751365553..84c6ec0680353eef77883b6c839b862505947657 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64
+       by default.
+
 2004-02-22  James E Wilson  <wilson@specifixinc.com>
 
        PR target/13918
index 68a393528a672ee4211974252864abaf7a82b719..1106e02f6b7e63e2f4e13ae6edce10e88d2f90b5 100644 (file)
@@ -995,6 +995,7 @@ override_options ()
                                   | PTA_3DNOW_A},
       {"athlon-tbird", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE
                                         | PTA_3DNOW | PTA_3DNOW_A},
+      {"x86-64", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_SSE},
       {"athlon-4", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
                                    | PTA_3DNOW_A | PTA_SSE},
       {"athlon-xp", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
@@ -1040,7 +1041,7 @@ override_options ()
   if (!ix86_cpu_string)
     ix86_cpu_string = cpu_names [TARGET_CPU_DEFAULT];
   if (!ix86_arch_string)
-    ix86_arch_string = TARGET_64BIT ? "athlon-4" : "i386";
+    ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386";
 
   if (ix86_cmodel_string != 0)
     {