decode_impl.hh (11650:fe601d7bd955) | decode_impl.hh (11781:1ae84c76066b) |
---|---|
1/* 2 * Copyright (c) 2012, 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 705 unchanged lines hidden (view full) --- 714 // Might want to set some sort of boolean and just do 715 // a check at the end 716 squash(inst, inst->threadNumber); 717 718 break; 719 } 720 721 // Go ahead and compute any PC-relative branches. | 1/* 2 * Copyright (c) 2012, 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 705 unchanged lines hidden (view full) --- 714 // Might want to set some sort of boolean and just do 715 // a check at the end 716 squash(inst, inst->threadNumber); 717 718 break; 719 } 720 721 // Go ahead and compute any PC-relative branches. |
722 if (inst->isDirectCtrl() && inst->isUncondCtrl()) { | 722 // This includes direct unconditional control and 723 // direct conditional control that is predicted taken. 724 if (inst->isDirectCtrl() && 725 (inst->isUncondCtrl() || inst->readPredTaken())) 726 { |
723 ++decodeBranchResolved; 724 725 if (!(inst->branchTarget() == inst->readPredTarg())) { 726 ++decodeBranchMispred; 727 728 // Might want to set some sort of boolean and just do 729 // a check at the end 730 squash(inst, inst->threadNumber); --- 25 unchanged lines hidden --- | 727 ++decodeBranchResolved; 728 729 if (!(inst->branchTarget() == inst->readPredTarg())) { 730 ++decodeBranchMispred; 731 732 // Might want to set some sort of boolean and just do 733 // a check at the end 734 squash(inst, inst->threadNumber); --- 25 unchanged lines hidden --- |