From 291099855223688fd3e179c4c3ea13e95d6c521f Mon Sep 17 00:00:00 2001 From: Kajoljain379 Date: Wed, 10 Apr 2019 05:43:21 +0000 Subject: [PATCH] arch-power: Updated branch instruction Change-Id: I242e8d5f0f3a5b12baa968967dd31f4e1260fa49 Signed-off-by: Kajoljain379 --- src/arch/power/insts/branch.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/power/insts/branch.hh b/src/arch/power/insts/branch.hh index 428f4f20c..7d1a3ddae 100644 --- a/src/arch/power/insts/branch.hh +++ b/src/arch/power/insts/branch.hh @@ -161,7 +161,7 @@ class BranchDispCondOp : public BranchCondOp BranchDispCondOp(const char *mnem, MachInst _machInst, OpClass __opClass) : BranchCondOp(mnem, _machInst, __opClass), aaSet(false), - disp(sext<14>(machInst.bd << 2)) + disp(sext<16>(machInst.bd << 2)) { } -- 2.30.2