From f88bab70cffdeac1d2d82d36ac5e445321e7f11d 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 1a0102210..8c311a2e3 100644 --- a/src/arch/power/insts/branch.hh +++ b/src/arch/power/insts/branch.hh @@ -159,7 +159,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