diff options
Diffstat (limited to 'sim/m32r/decode.c')
-rw-r--r-- | sim/m32r/decode.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sim/m32r/decode.c b/sim/m32r/decode.c index 1823997..e7b6382 100644 --- a/sim/m32r/decode.c +++ b/sim/m32r/decode.c @@ -152,7 +152,8 @@ static const struct insn_sem m32rbf_insn_sem[] = { M32R_INSN_BTST, M32RBF_INSN_BTST, M32RBF_SFMT_BTST }, }; -static const struct insn_sem m32rbf_insn_sem_invalid = { +static const struct insn_sem m32rbf_insn_sem_invalid = +{ VIRTUAL_INSN_X_INVALID, M32RBF_INSN_X_INVALID, M32RBF_SFMT_EMPTY }; @@ -573,7 +574,7 @@ m32rbf_decode (SIM_CPU *current_cpu, IADDR pc, extract_sfmt_empty: { const IDESC *idesc = &m32rbf_insn_data[itype]; -#define FLD(f) abuf->fields.fmt_empty.f +#define FLD(f) abuf->fields.sfmt_empty.f /* Record the fields for the semantic handler. */ @@ -1711,7 +1712,7 @@ m32rbf_decode (SIM_CPU *current_cpu, IADDR pc, extract_sfmt_nop: { const IDESC *idesc = &m32rbf_insn_data[itype]; -#define FLD(f) abuf->fields.fmt_empty.f +#define FLD(f) abuf->fields.sfmt_empty.f /* Record the fields for the semantic handler. */ @@ -1724,7 +1725,7 @@ m32rbf_decode (SIM_CPU *current_cpu, IADDR pc, extract_sfmt_rac: { const IDESC *idesc = &m32rbf_insn_data[itype]; -#define FLD(f) abuf->fields.fmt_empty.f +#define FLD(f) abuf->fields.sfmt_empty.f /* Record the fields for the semantic handler. */ @@ -1737,7 +1738,7 @@ m32rbf_decode (SIM_CPU *current_cpu, IADDR pc, extract_sfmt_rte: { const IDESC *idesc = &m32rbf_insn_data[itype]; -#define FLD(f) abuf->fields.fmt_empty.f +#define FLD(f) abuf->fields.sfmt_empty.f /* Record the fields for the semantic handler. */ |