From: Kajoljain379 Date: Wed, 10 Apr 2019 05:43:21 +0000 (+0000) Subject: arch-power: Updated branch instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f88bab70cffdeac1d2d82d36ac5e445321e7f11d;p=gem5.git arch-power: Updated branch instruction Change-Id: I242e8d5f0f3a5b12baa968967dd31f4e1260fa49 Signed-off-by: Kajoljain379 --- 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)) { }