diff options
Diffstat (limited to 'libpixelflinger/codeflinger/mips_disassem.c')
-rw-r--r-- | libpixelflinger/codeflinger/mips_disassem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpixelflinger/codeflinger/mips_disassem.c b/libpixelflinger/codeflinger/mips_disassem.c index 3007b1534..4ab9bd35d 100644 --- a/libpixelflinger/codeflinger/mips_disassem.c +++ b/libpixelflinger/codeflinger/mips_disassem.c | |||
@@ -323,14 +323,14 @@ db_disasm_insn(int insn, db_addr_t loc, bool altfmt) | |||
323 | db_printf("ext\t%s,%s,%d,%d", | 323 | db_printf("ext\t%s,%s,%d,%d", |
324 | reg_name[i.RType.rt], | 324 | reg_name[i.RType.rt], |
325 | reg_name[i.RType.rs], | 325 | reg_name[i.RType.rs], |
326 | i.RType.shamt, | 326 | i.RType.rd+1, |
327 | i.RType.rd+1); | 327 | i.RType.shamt); |
328 | else if (i.RType.func == OP_INS) | 328 | else if (i.RType.func == OP_INS) |
329 | db_printf("ins\t%s,%s,%d,%d", | 329 | db_printf("ins\t%s,%s,%d,%d", |
330 | reg_name[i.RType.rt], | 330 | reg_name[i.RType.rt], |
331 | reg_name[i.RType.rs], | 331 | reg_name[i.RType.rs], |
332 | i.RType.shamt, | 332 | i.RType.rd+1, |
333 | i.RType.rd-i.RType.shamt+1); | 333 | i.RType.shamt); |
334 | else if (i.RType.func == OP_BSHFL && i.RType.shamt == OP_WSBH) | 334 | else if (i.RType.func == OP_BSHFL && i.RType.shamt == OP_WSBH) |
335 | db_printf("wsbh\t%s,%s", | 335 | db_printf("wsbh\t%s,%s", |
336 | reg_name[i.RType.rd], | 336 | reg_name[i.RType.rd], |