aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32r-desc.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2000-05-16 19:28:07 +0000
committerFrank Ch. Eigler <fche@redhat.com>2000-05-16 19:28:07 +0000
commitf660ee8b2e52289529edf71cfb2ba21b1fb9eff3 (patch)
treee43080ffd997206d8e85ee23cb559359768b61a8 /opcodes/m32r-desc.h
parent10febd849135152718c29f25971c58ff1658e290 (diff)
downloadgdb-f660ee8b2e52289529edf71cfb2ba21b1fb9eff3.zip
gdb-f660ee8b2e52289529edf71cfb2ba21b1fb9eff3.tar.gz
gdb-f660ee8b2e52289529edf71cfb2ba21b1fb9eff3.tar.bz2
* cgen/opcodes fix
* approved by nickc [opcodes/ChangeLog] 2000-05-16 Frank Ch. Eigler <fche@redhat.com> * fr30-desc.h: Partially regenerated to account for changed CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros. * m32r-desc.h: Ditto. [include/opcode/ChangeLog] 2000-05-16 Frank Ch. Eigler <fche@redhat.com> * cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32. Check that it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set. (CGEN_MAX_IFMT_OPERANDS): Increase to 16. Check that it exceeds CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set.
Diffstat (limited to 'opcodes/m32r-desc.h')
-rw-r--r--opcodes/m32r-desc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/opcodes/m32r-desc.h b/opcodes/m32r-desc.h
index 7d42807..32ea2f7 100644
--- a/opcodes/m32r-desc.h
+++ b/opcodes/m32r-desc.h
@@ -44,18 +44,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define CGEN_INT_INSN_P 1
-/* FIXME: Need to compute CGEN_MAX_SYNTAX_BYTES. */
+/* Maximum number of syntax bytes in an instruction. */
+#define CGEN_ACTUAL_MAX_SYNTAX_BYTES 15
/* CGEN_MNEMONIC_OPERANDS is defined if mnemonics have operands.
e.g. In "b,a foo" the ",a" is an operand. If mnemonics have operands
we can't hash on everything up to the space. */
#define CGEN_MNEMONIC_OPERANDS
-/* Maximum number of operands any insn or macro-insn has. */
-#define CGEN_MAX_INSN_OPERANDS 16
-
/* Maximum number of fields in an instruction. */
-#define CGEN_MAX_IFMT_OPERANDS 7
+#define CGEN_ACTUAL_MAX_IFMT_OPERANDS 7
/* Enums. */