]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin.h: Darwin/x86 doesn't support CPUs before 686...
authorStuart Hastings <stuart@apple.com>
Thu, 4 Mar 2004 19:24:21 +0000 (19:24 +0000)
committerStuart Hastings <stuart@gcc.gnu.org>
Thu, 4 Mar 2004 19:24:21 +0000 (19:24 +0000)
2004-03-04  Stuart Hastings  <stuart@apple.com>
* gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before
686, tell Darwin assembler to allow prefetch insns, non-empty def
of SUBTARGET_OPTION_TRANSLATE_TABLE.

From-SVN: r78926

gcc/ChangeLog
gcc/config/i386/darwin.h

index 4f53e6ba9a7c2945eee8af6be3e9fa64306cb1f1..ae650bcf0e956b50be010e8e8c844abb31afe631 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-04  Stuart Hastings  <stuart@apple.com>
+       * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before
+       686, tell Darwin assembler to allow prefetch insns, non-empty def
+       of SUBTARGET_OPTION_TRANSLATE_TABLE.
+
 2004-03-04  DJ Delorie  <dj@redhat.com>
 
        PR optimization/14282
index e99a253af33ede9bbaf0c662822b4d1d61bb5411..accffeee90c08e199ec76425a036a6312c2aaf07 100644 (file)
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA.  */
 #undef TARGET_MACHO
 #define TARGET_MACHO 1
 
-#define TARGET_VERSION fprintf (stderr, " (i386 Darwin)");
+#define TARGET_VERSION fprintf (stderr, " (i686 Darwin)");
 
 #define TARGET_OS_CPP_BUILTINS()                \
   do                                            \
@@ -41,7 +41,8 @@ Boston, MA 02111-1307, USA.  */
 #undef CC1_SPEC
 #define CC1_SPEC "%{!static:-fPIC}"
 
-#define ASM_SPEC "-arch i386 \
+#define ASM_SPEC "-arch i686 \
+  -force_cpusubtype_ALL \
   %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
   %{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\
                           %{msse:-force_cpusubtype_ALL}\
@@ -49,11 +50,12 @@ Boston, MA 02111-1307, USA.  */
 
 #undef SUBTARGET_EXTRA_SPECS
 #define SUBTARGET_EXTRA_SPECS                  \
-  { "darwin_arch", "i386" },
+  { "darwin_arch", "i686" },
 
 /* Use the following macro for any Darwin/x86-specific command-line option
    translation.  */
-#define SUBTARGET_OPTION_TRANSLATE_TABLE
+#define SUBTARGET_OPTION_TRANSLATE_TABLE \
+  { "", "" }
 
 /* The Darwin assembler mostly follows AT&T syntax.  */
 #undef ASSEMBLER_DIALECT