summaryrefslogtreecommitdiff
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
commit70982a9d0e91c52b373f2eaa43c1fd5a6afb906f (patch)
treee1e72690b2ee3afdee253607d39993bc16fe50e6 /opcodes/m32r-desc.h
parentd6abe47004c9cc118a54cadb4797a3e15eec4cb2 (diff)
downloadgdb-70982a9d0e91c52b373f2eaa43c1fd5a6afb906f.tar.gz
* 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 7d428072e2a..32ea2f7e0ce 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. */