Commit 35b528be by Richard Stallman

(TARGET_CPU_DEFAULT): Add default definition.

(TARGET_SWITCHES): Include that in the default.

From-SVN: r2350
parent 7085b873
...@@ -57,6 +57,11 @@ extern int target_flags; ...@@ -57,6 +57,11 @@ extern int target_flags;
/* Macros used in the machine description to test the flags. */ /* Macros used in the machine description to test the flags. */
/* configure can arrage to make this 2, to force a 486. */
#ifndef TARGET_CPU_DEFAULT
#define TARGET_CPU_DEFAULT 0
#endif
/* Compile 80387 insns for floating point (not library calls). */ /* Compile 80387 insns for floating point (not library calls). */
#define TARGET_80387 (target_flags & 1) #define TARGET_80387 (target_flags & 1)
/* Compile code for an i486. */ /* Compile code for an i486. */
...@@ -110,7 +115,7 @@ extern int target_flags; ...@@ -110,7 +115,7 @@ extern int target_flags;
{ "fp-ret-in-387", 0200}, \ { "fp-ret-in-387", 0200}, \
{ "no-fp-ret-in-387", -0200}, \ { "no-fp-ret-in-387", -0200}, \
SUBTARGET_SWITCHES \ SUBTARGET_SWITCHES \
{ "", TARGET_DEFAULT}} { "", TARGET_DEFAULT | TARGET_CPU_DEFAULT}}
/* This is meant to be redefined in the host dependent files */ /* This is meant to be redefined in the host dependent files */
#define SUBTARGET_SWITCHES #define SUBTARGET_SWITCHES
......
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