Take unadjusted offset for loongson3a specific instructions.

This commit is contained in:
Mingjie Xing 2011-01-11 07:22:09 +00:00
parent 0d7a18f740
commit c95354ed13
7 changed files with 38 additions and 13 deletions

View file

@ -991,7 +991,8 @@ print_insn_args (const char *d,
delta = (l >> OP_SH_OFFSET_C) & OP_MASK_OFFSET_C;
if (delta & 0x100)
delta |= ~OP_MASK_OFFSET_C;
(*info->fprintf_func) (info->stream, "%d", delta);
/* Left shift 4 bits to print the real offset. */
(*info->fprintf_func) (info->stream, "%d", delta << 4);
break;
case 'z':