projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use bool in gas
[binutils-gdb.git]
/
gas
/
config
/
xtensa-relax.h
diff --git
a/gas/config/xtensa-relax.h
b/gas/config/xtensa-relax.h
index 14898c913465266f0b874b6f6a17798610bb8126..99ad22f1446cbf730ec028435b47d0bdf8426e8b 100644
(file)
--- a/
gas/config/xtensa-relax.h
+++ b/
gas/config/xtensa-relax.h
@@
-1,5
+1,5
@@
/* Table of relaxations for Xtensa assembly.
/* Table of relaxations for Xtensa assembly.
- Copyright
2003, 2004, 2007, 2008
Free Software Foundation, Inc.
+ Copyright
(C) 2003-2021
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
This file is part of GAS, the GNU Assembler.
@@
-85,16
+85,13
@@
struct req_option_list
struct req_or_option_list
{
char *option_name;
struct req_or_option_list
{
char *option_name;
- b
fd_boolean
is_true;
+ b
ool
is_true;
ReqOrOptionList *next;
};
/* Operand types and constraints on operands: */
ReqOrOptionList *next;
};
/* Operand types and constraints on operands: */
-typedef enum op_type OpType;
-typedef enum cmp_op CmpOp;
-
-enum op_type
+typedef enum op_type
{
OP_CONSTANT,
OP_OPERAND,
{
OP_CONSTANT,
OP_OPERAND,
@@
-105,14
+102,15
@@
enum op_type
OP_OPERAND_LOW16U, /* Low 16 bits of immed. */
OP_OPERAND_HI16U, /* High 16 bits of immed. */
OP_LITERAL,
OP_OPERAND_LOW16U, /* Low 16 bits of immed. */
OP_OPERAND_HI16U, /* High 16 bits of immed. */
OP_LITERAL,
+ OP_FREEREG,
OP_LABEL
OP_LABEL
-};
+}
OpType
;
-enum cmp_op
+
typedef
enum cmp_op
{
OP_EQUAL,
OP_NOTEQUAL,
{
OP_EQUAL,
OP_NOTEQUAL,
-};
+}
CmpOp
;
struct precondition
{
struct precondition
{
@@
-142,14
+140,13
@@
struct build_op
};
typedef struct build_instr BuildInstr;
};
typedef struct build_instr BuildInstr;
-typedef enum instr_type InstrType;
-enum instr_type
+
typedef
enum instr_type
{
INSTR_INSTR,
INSTR_LITERAL_DEF,
INSTR_LABEL_DEF
{
INSTR_INSTR,
INSTR_LITERAL_DEF,
INSTR_LABEL_DEF
-};
+}
InstrType
;
struct build_instr
{
struct build_instr
{
@@
-173,7
+170,16
@@
typedef int (*transition_cmp_fn) (const TransitionRule *,
extern TransitionTable *xg_build_simplify_table (transition_cmp_fn);
extern TransitionTable *xg_build_widen_table (transition_cmp_fn);
extern TransitionTable *xg_build_simplify_table (transition_cmp_fn);
extern TransitionTable *xg_build_widen_table (transition_cmp_fn);
-extern b
fd_boolean
xg_has_userdef_op_fn (OpType);
+extern b
ool
xg_has_userdef_op_fn (OpType);
extern long xg_apply_userdef_op_fn (OpType, long);
extern long xg_apply_userdef_op_fn (OpType, long);
+enum flix_level
+{
+ FLIX_ALL,
+ FLIX_NO_GENERATE,
+ FLIX_NONE
+};
+
+extern enum flix_level produce_flix;
+
#endif /* !XTENSA_RELAX_H */
#endif /* !XTENSA_RELAX_H */