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
commitf660ee8b2e52289529edf71cfb2ba21b1fb9eff3 (patch)
treee43080ffd997206d8e85ee23cb559359768b61a8 /opcodes/fr30-desc.h
parent10febd849135152718c29f25971c58ff1658e290 (diff)
downloadbinutils-f660ee8b2e52289529edf71cfb2ba21b1fb9eff3.tar.gz
binutils-f660ee8b2e52289529edf71cfb2ba21b1fb9eff3.tar.bz2
binutils-f660ee8b2e52289529edf71cfb2ba21b1fb9eff3.zip
* 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 97e29cd1bdb..9d592191d8c 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. */