(TARGET_BITFIELD): New macro.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 8 Aug 1994 23:55:43 +0000 (19:55 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 8 Aug 1994 23:55:43 +0000 (19:55 -0400)
(TARGET_SWITCHES): Support for TARGET_BITFIELD.

From-SVN: r7880

gcc/config/ns32k/ns32k.h

index af68772874181d5c5e86a88365a47d3b1bd29a93..6cf887f0791b5b2dcedc8b873cd6afa3d0375479 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler.  NS32000 version.
    Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc.
-   Contributed by Michael Tiemann (tiemann@mcc.com)
+   Contributed by Michael Tiemann (tiemann@cygnus.com)
 
 This file is part of GNU CC.
 
@@ -82,6 +82,9 @@ extern int target_flags;
 /* Ok to use the static base register (and presume it's 0) */
 #define TARGET_SB    ((target_flags & 32) == 0)
 
+/* Compile using bitfield insns.  */
+#define TARGET_BITFIELD ((target_flags & 64) == 0)
+
 /* Macro to define tables used to set the flags.
    This is a list in braces of pairs in braces,
    each pair being { "NAME", VALUE }
@@ -101,6 +104,8 @@ extern int target_flags;
     { "32032", -24},                           \
     { "sb", -32},                              \
     { "nosb", 32},                             \
+    { "bitfield", -64},                                \
+    { "nobitfield", 64},                       \
     { "", TARGET_DEFAULT}}
 /* TARGET_DEFAULT is defined in encore.h, pc532.h, etc.  */