Commit 2e5d2af9 by Stuart Hastings Committed by Stuart Hastings

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
parent 58f206d6
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> 2004-03-04 DJ Delorie <dj@redhat.com>
PR optimization/14282 PR optimization/14282
......
...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_MACHO #undef TARGET_MACHO
#define TARGET_MACHO 1 #define TARGET_MACHO 1
#define TARGET_VERSION fprintf (stderr, " (i386 Darwin)"); #define TARGET_VERSION fprintf (stderr, " (i686 Darwin)");
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
do \ do \
...@@ -41,7 +41,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -41,7 +41,8 @@ Boston, MA 02111-1307, USA. */
#undef CC1_SPEC #undef CC1_SPEC
#define CC1_SPEC "%{!static:-fPIC}" #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:-force_cpusubtype_ALL} \
%{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\ %{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\
%{msse:-force_cpusubtype_ALL}\ %{msse:-force_cpusubtype_ALL}\
...@@ -49,11 +50,12 @@ Boston, MA 02111-1307, USA. */ ...@@ -49,11 +50,12 @@ Boston, MA 02111-1307, USA. */
#undef SUBTARGET_EXTRA_SPECS #undef SUBTARGET_EXTRA_SPECS
#define 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 /* Use the following macro for any Darwin/x86-specific command-line option
translation. */ translation. */
#define SUBTARGET_OPTION_TRANSLATE_TABLE #define SUBTARGET_OPTION_TRANSLATE_TABLE \
{ "", "" }
/* The Darwin assembler mostly follows AT&T syntax. */ /* The Darwin assembler mostly follows AT&T syntax. */
#undef ASSEMBLER_DIALECT #undef ASSEMBLER_DIALECT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment