aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/crx-dis.c4
-rw-r--r--opcodes/crx-opc.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 550bffa..58f69a8 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register
+ mode.
+ * crx-dis.c: Likewise.
+
2004-11-04 Hans-Peter Nilsson <hp@axis.com>
Generally, handle CRISv32.
diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c
index 39233c3..840eefc 100644
--- a/opcodes/crx-dis.c
+++ b/opcodes/crx-dis.c
@@ -431,7 +431,7 @@ make_argument (argument * a, int start_bits)
a->constant = p.val;
break;
- case arg_icr:
+ case arg_idxr:
a->scale = 0;
total_size = a->size + 10; /* sizeof(rbase + ridx + scl2) = 10. */
p = makelongparameter (allWords, inst_bit_size - total_size,
@@ -557,7 +557,7 @@ print_arg (argument *a, struct disassemble_info *info)
func (stream, "$0x%x", a->constant);
break;
- case arg_icr:
+ case arg_idxr:
func (stream, "0x%x(%s,%s,%d)", a->constant, getregname (a->r),
getregname (a->i_r), powerof2 (a->scale));
break;
diff --git a/opcodes/crx-opc.c b/opcodes/crx-opc.c
index c409316..a83f813 100644
--- a/opcodes/crx-opc.c
+++ b/opcodes/crx-opc.c
@@ -671,8 +671,8 @@ const operand_entry crx_optab[] =
{16, arg_cr, 0}, /* rbase_disps16 */
{28, arg_cr, 0}, /* rbase_disps28 */
{32, arg_cr, 0}, /* rbase_disps32 */
- {6, arg_icr, 0}, /* rindex_disps6 */
- {22, arg_icr, 0}, /* rindex_disps22 */
+ {6, arg_idxr, 0}, /* rindex_disps6 */
+ {22, arg_idxr, 0}, /* rindex_disps22 */
{4, arg_r, 0}, /* regr */
{8, arg_r, 0}, /* regr8 */
{4, arg_copr, 0}, /* copregr */