summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-10 22:11:00 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-10 22:11:00 +0000
commit0b3a3236864ed22a3d4415924e1a9461f8ca5412 (patch)
tree8c9245b1f0534da9b65344b36b251d5eed922b7a
parent09d53d281d945d0ae221193b5ab52f4ba17a50b2 (diff)
downloadgcc-0b3a3236864ed22a3d4415924e1a9461f8ca5412.tar.gz
(TARGET_CPU32): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13264 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/config/m68k/m68k.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 581797752a3..84834626c31 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -113,6 +113,10 @@ extern int target_flags;
#define MASK_5200 2048
#define TARGET_5200 (target_flags & MASK_5200)
+/* Compile for a CPU32 */
+ /* A 68020 without bitfields is a good heuristic for a CPU32 */
+#define TARGET_CPU32 (TARGET_68020 && !TARGET_BITFIELD)
+
/* Macro to define tables used to set the flags.
This is a list in braces of pairs in braces,
each pair being { "NAME", VALUE }