summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@sebabeach.org>2010-02-13 04:38:57 +0000
committerDoug Evans <dje@sebabeach.org>2010-02-13 04:38:57 +0000
commitb5ef0636d9e466f43f8c592317fa4a0fb2817109 (patch)
treed7495a4afe27ae82dc3032c0d495fda70799e334
parent55e015ff2589eafea4f8e85339ac117a8eb7e882 (diff)
downloadbinutils-redhat-b5ef0636d9e466f43f8c592317fa4a0fb2817109.tar.gz
* lm32-opinst.c: Regenerate.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/lm32-opinst.c18
2 files changed, 20 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 5253c3325e..af9157112f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-12 Doug Evans <dje@sebabeach.org>
+
+ * lm32-opinst.c: Regenerate.
+
2010-02-11 Doug Evans <dje@sebabeach.org>
* cgen-dis.in (print_normal): Delete CGEN_PRINT_NORMAL.
diff --git a/opcodes/lm32-opinst.c b/opcodes/lm32-opinst.c
index f6ad59190a..24007cfded 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],