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=291099855223688fd3e179c4c3ea13e95d6c521f;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 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)) { }