summaryrefslogtreecommitdiff
path: root/opcodes/fr30-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
commit9c2db2c63b7ed90b97e4afae2ce115773f274904 (patch)
treefbd9c9686aa71fae7ae1cc9425e756d8ed6e3c6e /opcodes/fr30-desc.h
parent890d4a7b0ad22c6bd2408a93d050ca3e81d22de8 (diff)
downloadbinutils-redhat-9c2db2c63b7ed90b97e4afae2ce115773f274904.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/fr30-desc.h')
-rw-r--r--opcodes/fr30-desc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/opcodes/fr30-desc.h b/opcodes/fr30-desc.h
index 97e29cd1bd..9d592191d8 100644
--- a/opcodes/fr30-desc.h
+++ b/opcodes/fr30-desc.h
@@ -43,18 +43,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define CGEN_INT_INSN_P 0
-/* 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. */