summaryrefslogtreecommitdiffstats
path: root/include/opcode/cgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/cgen.h')
-rw-r--r--include/opcode/cgen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h
index c13c4d9e8..c01b5c2a2 100644
--- a/include/opcode/cgen.h
+++ b/include/opcode/cgen.h
@@ -199,6 +199,8 @@ typedef struct {
const char *bfd_name;
/* one of enum mach_attr */
int num;
+ /* parameter from mach->cpu */
+ unsigned int insn_chunk_bitsize;
} CGEN_MACH;
/* Parse result (also extraction result).
@@ -1166,6 +1168,10 @@ typedef struct cgen_cpu_desc
lazily fetch the data from there. */
unsigned int word_bitsize;
+ /* Instruction chunk size (in bits), for purposes of endianness
+ conversion. */
+ unsigned int insn_chunk_bitsize;
+
/* Indicator if sizes are unknown.
This is used by default_insn_bitsize,base_insn_bitsize if there is a
difference between the selected isa's. */