diff options
author | Doug Evans <dje@google.com> | 2010-02-13 04:38:57 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-02-13 04:38:57 +0000 |
commit | fee1d3e815ff78d00533903242ca0f0b03c85ae1 (patch) | |
tree | 1b12f9da8ea647da0ff83df8e90abbf30183a728 /opcodes/lm32-opinst.c | |
parent | 21bb3914d64c5fb946423572fe895d2a08531030 (diff) | |
download | gdb-fee1d3e815ff78d00533903242ca0f0b03c85ae1.zip gdb-fee1d3e815ff78d00533903242ca0f0b03c85ae1.tar.gz gdb-fee1d3e815ff78d00533903242ca0f0b03c85ae1.tar.bz2 |
* lm32-opinst.c: Regenerate.
Diffstat (limited to 'opcodes/lm32-opinst.c')
-rw-r--r-- | opcodes/lm32-opinst.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/opcodes/lm32-opinst.c b/opcodes/lm32-opinst.c index f6ad591..24007cf 100644 --- a/opcodes/lm32-opinst.c +++ b/opcodes/lm32-opinst.c @@ -208,12 +208,26 @@ static const CGEN_OPINST sfmt_bret_ops[] ATTRIBUTE_UNUSED = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; +static const CGEN_OPINST sfmt_mvi_ops[] ATTRIBUTE_UNUSED = { + { INPUT, "imm", HW_H_SINT, CGEN_MODE_INT, OP_ENT (IMM), 0, 0 }, + { INPUT, "r0", HW_H_GR, CGEN_MODE_SI, OP_ENT (R0), 0, 0 }, + { OUTPUT, "r1", HW_H_GR, CGEN_MODE_SI, OP_ENT (R1), 0, 0 }, + { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } +}; + static const CGEN_OPINST sfmt_mvui_ops[] ATTRIBUTE_UNUSED = { { INPUT, "lo16", HW_H_UINT, CGEN_MODE_UINT, OP_ENT (LO16), 0, 0 }, { OUTPUT, "r1", HW_H_GR, CGEN_MODE_SI, OP_ENT (R1), 0, 0 }, { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; +static const CGEN_OPINST sfmt_mvhi_ops[] ATTRIBUTE_UNUSED = { + { INPUT, "hi16", HW_H_UINT, CGEN_MODE_UINT, OP_ENT (HI16), 0, 0 }, + { INPUT, "r0", HW_H_GR, CGEN_MODE_SI, OP_ENT (R0), 0, 0 }, + { OUTPUT, "r1", HW_H_GR, CGEN_MODE_SI, OP_ENT (R1), 0, 0 }, + { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } +}; + static const CGEN_OPINST sfmt_mva_ops[] ATTRIBUTE_UNUSED = { { INPUT, "gp16", HW_H_SINT, CGEN_MODE_INT, OP_ENT (GP16), 0, 0 }, { INPUT, "r0", HW_H_GR, CGEN_MODE_SI, OP_ENT (R0), 0, 0 }, @@ -421,9 +435,9 @@ static const CGEN_OPINST *lm32_cgen_opinst_table[MAX_INSNS] = { & sfmt_bret_ops[0], & sfmt_bret_ops[0], & sfmt_sextb_ops[0], - & sfmt_addi_ops[0], + & sfmt_mvi_ops[0], & sfmt_mvui_ops[0], - & sfmt_andhii_ops[0], + & sfmt_mvhi_ops[0], & sfmt_mva_ops[0], & sfmt_sextb_ops[0], & sfmt_nop_ops[0], |