summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaydeep Patil <jaydeep.patil@imgtec.com>2015-06-22 13:58:30 +0000
committerJaydeep Patil <jaydeep.patil@imgtec.com>2015-06-22 13:58:30 +0000
commit30952b200b7f5393ababd0907998fa78f2917a7d (patch)
tree07eecbcdcfc2ff55f38ea1f378ae01748a6b2228
parentff661394ce701db79652f48b912466c6bd7be899 (diff)
downloadbcm5719-llvm-30952b200b7f5393ababd0907998fa78f2917a7d.tar.gz
bcm5719-llvm-30952b200b7f5393ababd0907998fa78f2917a7d.zip
Test Commit
llvm-svn: 240280
-rw-r--r--lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp b/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
index 033b2cd804b..b88d49ffd05 100644
--- a/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
+++ b/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
@@ -736,6 +736,8 @@ EmulateInstructionMIPS64::Emulate_BEQ (llvm::MCInst& insn)
* condition <- (GPR[rs] = GPR[rt])
* if condition then
* PC = PC + sign_ext (offset << 2)
+ * else
+ * PC = PC + 4
*/
rs = m_reg_info->getEncodingValue (insn.getOperand(0).getReg());
rt = m_reg_info->getEncodingValue (insn.getOperand(1).getReg());
OpenPOWER on IntegriCloud