Commit 70c90758 authored by Djordje.Pesic's avatar Djordje.Pesic Committed by Commit bot

MIPS: Fix bug in disassembler for JALR

Adding missing rd register in JALR disassembly, for mips and mipps64

Review URL: https://codereview.chromium.org/1297183002

Cr-Commit-Position: refs/heads/master@{#30214}
parent 4106a4cb
......@@ -987,7 +987,7 @@ void Decoder::DecodeTypeRegisterSPECIAL(Instruction* instr) {
Format(instr, "jr 'rs");
break;
case JALR:
Format(instr, "jalr 'rs");
Format(instr, "jalr 'rs, 'rd");
break;
case SLL:
if (0x0 == static_cast<int>(instr->InstructionBits()))
......
......@@ -1073,7 +1073,7 @@ void Decoder::DecodeTypeRegisterSPECIAL(Instruction* instr) {
Format(instr, "jr 'rs");
break;
case JALR:
Format(instr, "jalr 'rs");
Format(instr, "jalr 'rs, 'rd");
break;
case SLL:
if (0x0 == static_cast<int>(instr->InstructionBits()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment