(MASK_68040_ALSO): New macro.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 17 Oct 1996 05:19:54 +0000 (22:19 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 17 Oct 1996 05:19:54 +0000 (22:19 -0700)
(TARGET_SWITCHES): Option -m68020-40 includes MASK_68040_ALSO.

From-SVN: r12973

gcc/config/m68k/m68k.h

index b01badb71625776acdd523e833257b8343a96093..48fa1a5f2a866987f61e8ce4ceee18ec7e42994a 100644 (file)
@@ -92,6 +92,7 @@ extern int target_flags;
    of them must be emulated in software by the OS.  When TARGET_68040 is
    turned on, these instructions won't be used.  This code will still
    run on a 68030 and 68881/2. */
+#define MASK_68040_ALSO (256)
 #define MASK_68040     (256|512)
 #define TARGET_68040 (target_flags & MASK_68040)
 
@@ -140,7 +141,7 @@ extern int target_flags;
     { "68881" - (MASK_FPA|MASK_SKY)},                                  \
     { "68881", MASK_68881},                                            \
     { "soft-float", - (MASK_FPA|MASK_SKY|MASK_68040_ONLY|MASK_68881)}, \
-    { "68020-40", (MASK_BITFIELD|MASK_68881|MASK_68020)},              \
+    { "68020-40", (MASK_BITFIELD|MASK_68881|MASK_68020|MASK_68040_ALSO)}, \
     { "68030", - (MASK_68040|MASK_68060)},                             \
     { "68030", (MASK_68020|MASK_BITFIELD)},                            \
     { "68040", (MASK_68020|MASK_68881|MASK_BITFIELD|MASK_68040_ONLY)}, \