aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2004-03-04 19:24:21 +0000
committerStuart Hastings <stuart@gcc.gnu.org>2004-03-04 19:24:21 +0000
commit2e5d2af9d9946dee81b422d646c7912da4255f30 (patch)
treef29d53ba94edaad10bd0d57db141ed5fae1ffa96 /gcc
parent58f206d65d331d1e19f6d9e0a7851381861e113d (diff)
downloadgcc-2e5d2af9d9946dee81b422d646c7912da4255f30.zip
gcc-2e5d2af9d9946dee81b422d646c7912da4255f30.tar.gz
gcc-2e5d2af9d9946dee81b422d646c7912da4255f30.tar.bz2
darwin.h: Darwin/x86 doesn't support CPUs before 686...
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/darwin.h10
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4f53e6b..ae650bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index e99a253a..accffee 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -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