aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mt-opc.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-02-12 03:25:49 +0000
committerDoug Evans <dje@google.com>2010-02-12 03:25:49 +0000
commit37ec92403b4d32b349d239339a1b829cef29f2a2 (patch)
tree7a53f01cc0efe810b7576e46353f8f342d091b21 /opcodes/mt-opc.c
parent114dfbe13efea1a1405dbcf5d9254e59d309382f (diff)
downloadgdb-37ec92403b4d32b349d239339a1b829cef29f2a2.zip
gdb-37ec92403b4d32b349d239339a1b829cef29f2a2.tar.gz
gdb-37ec92403b4d32b349d239339a1b829cef29f2a2.tar.bz2
* fr30-desc.c, * fr30-desc.h, * fr30-opc.c,
* frv-desc.c, * frv-desc.h, * frv-opc.c, * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c, * m32r-opinst.c, * mep-desc.c, * mep-desc.h, * mep-opc.c, * mt-desc.c, * mt-desc.h, * mt-opc.c, * openrisc-desc.c, * openrisc-desc.h, * openrisc-opc.c, * xc16x-desc.c, * xc16x-desc.h, * xc16x-opc.c, * xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-opc.c: Regenerate.
Diffstat (limited to 'opcodes/mt-opc.c')
-rw-r--r--opcodes/mt-opc.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/opcodes/mt-opc.c b/opcodes/mt-opc.c
index 73b70b9..498eeac 100644
--- a/opcodes/mt-opc.c
+++ b/opcodes/mt-opc.c
@@ -75,11 +75,7 @@ static unsigned int dis_hash_insn (const char *, CGEN_INSN_INT);
/* Instruction formats. */
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define F(f) & mt_cgen_ifld_table[MT_##f]
-#else
-#define F(f) & mt_cgen_ifld_table[MT_/**/f]
-#endif
static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = {
0, 0, 0x0, { { 0 } }
};
@@ -258,16 +254,8 @@ static const CGEN_IFMT ifmt_dfbr ATTRIBUTE_UNUSED = {
#undef F
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#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) MT_OPERAND_##op
-#else
-#define OPERAND(op) MT_OPERAND_/**/op
-#endif
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
@@ -786,25 +774,13 @@ static const CGEN_OPCODE mt_cgen_insn_opcode_table[MAX_INSNS] =
/* Formats for ALIAS macro-insns. */
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define F(f) & mt_cgen_ifld_table[MT_##f]
-#else
-#define F(f) & mt_cgen_ifld_table[MT_/**/f]
-#endif
#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)
-#else
-#define A(a) (1 << CGEN_INSN_/**/a)
-#endif
-#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define OPERAND(op) MT_OPERAND_##op
-#else
-#define OPERAND(op) MT_OPERAND_/**/op
-#endif
#define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))