summaryrefslogtreecommitdiff
path: root/gcc/genattrtab.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 00:38:40 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 00:38:40 +0000
commite8562681663e19606a8b74834fe6863129c42433 (patch)
tree778fb1f5ca53c06e06d21c3bcbc8816da07409c4 /gcc/genattrtab.h
parent309c7c521269c37881108493ac68c46d63f88812 (diff)
downloadgcc-e8562681663e19606a8b74834fe6863129c42433.tar.gz
* genattrtab.h: Add new macros for attr `special' flags.
* genattrtab.c (attr_desc): Reorder/resize fields better. Use attr `special' macros in all calls to make_internal_attr. * genautomata.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.h')
-rw-r--r--gcc/genattrtab.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/genattrtab.h b/gcc/genattrtab.h
index 6c8745d3643..d5c04005753 100644
--- a/gcc/genattrtab.h
+++ b/gcc/genattrtab.h
@@ -47,3 +47,11 @@ extern void gen_insn_reserv (rtx);
extern void initiate_automaton_gen (int, char **);
extern void expand_automata (void);
extern void write_automata (void);
+
+/* Flags for make_internal_attr's `special' parameter. */
+#define ATTR_NONE 0
+#define ATTR_SPECIAL (1 << 0)
+#define ATTR_NEGATIVE_OK (1 << 1)
+#define ATTR_UNSIGNED (1 << 2)
+#define ATTR_FUNC_UNITS (1 << 3)
+#define ATTR_BLOCKAGE (1 << 4)