projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* fr30-desc.c, * fr30-desc.h, * fr30-opc.c,
[deliverable/binutils-gdb.git]
/
opcodes
/
lm32-opc.c
diff --git
a/opcodes/lm32-opc.c
b/opcodes/lm32-opc.c
index fe1115de3d54cf2fc7a1da79a96f48491304800f..b4dbd079dd320926fda07f89d2975e58d67392f3 100644
(file)
--- a/
opcodes/lm32-opc.c
+++ b/
opcodes/lm32-opc.c
@@
-40,11
+40,7
@@
static unsigned int dis_hash_insn (const char *, CGEN_INSN_INT);
/* Instruction formats. */
/* Instruction formats. */
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define F(f) & lm32_cgen_ifld_table[LM32_##f]
#define F(f) & lm32_cgen_ifld_table[LM32_##f]
-#else
-#define F(f) & lm32_cgen_ifld_table[LM32_/**/f]
-#endif
static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = {
0, 0, 0x0, { { 0 } }
};
static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = {
0, 0, 0x0, { { 0 } }
};
@@
-139,16
+135,8
@@
static const CGEN_IFMT ifmt_addgotoff ATTRIBUTE_UNUSED = {
#undef F
#undef F
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define A(a) (1 << CGEN_INSN_##a)
#define A(a) (1 << CGEN_INSN_##a)
-#else
-#define A(a) (1 << CGEN_INSN_/**/a)
-#endif
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define OPERAND(op) LM32_OPERAND_##op
#define OPERAND(op) LM32_OPERAND_##op
-#else
-#define OPERAND(op) LM32_OPERAND_/**/op
-#endif
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
@@
-715,25
+703,13
@@
static const CGEN_OPCODE lm32_cgen_insn_opcode_table[MAX_INSNS] =
/* Formats for ALIAS macro-insns. */
/* Formats for ALIAS macro-insns. */
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define F(f) & lm32_cgen_ifld_table[LM32_##f]
#define F(f) & lm32_cgen_ifld_table[LM32_##f]
-#else
-#define F(f) & lm32_cgen_ifld_table[LM32_/**/f]
-#endif
#undef F
/* Each non-simple macro entry points to an array of expansion possibilities. */
#undef F
/* Each non-simple macro entry points to an array of expansion possibilities. */
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define A(a) (1 << CGEN_INSN_##a)
#define A(a) (1 << CGEN_INSN_##a)
-#else
-#define A(a) (1 << CGEN_INSN_/**/a)
-#endif
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define OPERAND(op) LM32_OPERAND_##op
#define OPERAND(op) LM32_OPERAND_##op
-#else
-#define OPERAND(op) LM32_OPERAND_/**/op
-#endif
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
This page took
0.024293 seconds
and
4
git commands to generate.