2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
authorTomer Levi <Tomer.Levi@nsc.com>
Fri, 5 Nov 2004 11:01:00 +0000 (11:01 +0000)
committerTomer Levi <Tomer.Levi@nsc.com>
Fri, 5 Nov 2004 11:01:00 +0000 (11:01 +0000)
* crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register mode.
* crx-dis.c: Likewise.

opcodes/ChangeLog
opcodes/crx-dis.c
opcodes/crx-opc.c

index 550bffab927ea7f0c31acfedcfc4d1c5d6b50c2d..58f69a8092694305fe0e4a54ab0ab456a6429860 100644 (file)
@@ -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.
index 39233c3f579e5dbb57153f8470f470b2603f1cb2..840eefc074a867573907b42facdf81e22bb96a89 100644 (file)
@@ -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;
index c4093169b7edf21752a6588dd161be8c6732a4a1..a83f813a2d69e9784946c24c224dd037f11da8f0 100644 (file)
@@ -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 */