From 42048ee72f792c4f7821cd0fbe23de797359b71c Mon Sep 17 00:00:00 2001 From: Tomer Levi Date: Fri, 5 Nov 2004 11:01:00 +0000 Subject: [PATCH] 2004-11-05 Tomer Levi * crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register mode. * crx-dis.c: Likewise. --- opcodes/ChangeLog | 6 ++++++ opcodes/crx-dis.c | 4 ++-- opcodes/crx-opc.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 550bffab92..58f69a8092 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2004-11-05 Tomer Levi + + * 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 Generally, handle CRISv32. diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c index 39233c3f57..840eefc074 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 c4093169b7..a83f813a2d 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 */ -- 2.34.1