-/* Run-time compilation parameters selecting different hardware subsets.
-*/
-
-extern int target_flags;
-
-/* Macro to define tables used to set the flags.
- This is a list in braces of triplets in braces,
- each triplet being { "NAME", VALUE, DOC }
- where VALUE is the bits to set or minus the bits to clear and DOC
- is the documentation for --help (NULL if intentionally undocumented).
- An empty string NAME is used to identify the default VALUE. */
-
-#define TARGET_SWITCHES \
-{ { "fpu", 1, "Use hardware floating point" }, \
- { "soft-float", -1, "Do not use hardware floating point" }, \
-/* return float result in ac0 */ \
- { "ac0", 2, "Return floating point results in ac0" }, \
- { "no-ac0", -2, "Return floating point results in memory" },\
-/* is 11/40 */ \
- { "40", 4, "Generate code for an 11/40" }, \
- { "no-40", -4, "" }, \
-/* is 11/45 */ \
- { "45", 8, "Generate code for an 11/45" }, \
- { "no-45", -8, "" }, \
-/* is 11/10 */ \
- { "10", -12, "Generate code for an 11/10" }, \
-/* use movstrhi for bcopy */ \
- { "bcopy", 16, NULL }, \
- { "bcopy-builtin", -16, NULL }, \
-/* use 32 bit for int */ \
- { "int32", 32, "Use 32 bit int" }, \
- { "no-int16", 32, "Use 32 bit int" }, \
- { "int16", -32, "Use 16 bit int" }, \
- { "no-int32", -32, "Use 16 bit int" }, \
-/* use 32 bit for float */ \
- { "float32", 64, "Use 32 bit float" }, \
- { "no-float64", 64, "Use 32 bit float" }, \
- { "float64", -64, "Use 64 bit float" }, \
- { "no-float32", -64, "Use 64 bit float" }, \
-/* allow abshi pattern? - can trigger "optimizations" which make code SLOW! */\
- { "abshi", 128, NULL }, \
- { "no-abshi", -128, NULL }, \
-/* is branching expensive - on a PDP, it's actually really cheap */ \
-/* this is just to play around and check what code gcc generates */ \
- { "branch-expensive", 256, NULL }, \
- { "branch-cheap", -256, NULL }, \
-/* split instruction and data memory? */ \
- { "split", 1024, "Target has split I&D" }, \
- { "no-split", -1024, "Target does not have split I&D" }, \
-/* default */ \
- { "", TARGET_DEFAULT, NULL} \
-}
-
-#define TARGET_DEFAULT (1 | 8 | 128)
-
-#define TARGET_FPU (target_flags & 1)
-#define TARGET_SOFT_FLOAT (!TARGET_FPU)
-
-#define TARGET_AC0 ((target_flags & 2) && TARGET_FPU)
-#define TARGET_NO_AC0 (! TARGET_AC0)
-
-#define TARGET_45 (target_flags & 8)
-#define TARGET_40_PLUS ((target_flags & 4) || (target_flags & 8))