-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/343/#review717
-----------------------------------------------------------



src/cpu/o3/fetch_impl.hh
<http://reviews.m5sim.org/r/343/#comment981>

    hugely simplified:
    
            if (fromCommit->commitInfo[tid].branchMispredict &&
                fromCommit->commitInfo[tid].mispredictInst->isControl()) {
                branchPred.squash(fromCommit->commitInfo[tid].doneSeqNum,
                                  fromCommit->commitInfo[tid].pc,
                                  fromCommit->commitInfo[tid].branchTaken,
                                  tid);
            } else {
                branchPred.squash(fromCommit->commitInfo[tid].doneSeqNum,
                                  tid);
            }
    


- Ali


On 2010-12-06 16:12:44, Ali Saidi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.m5sim.org/r/343/
> -----------------------------------------------------------
> 
> (Updated 2010-12-06 16:12:44)
> 
> 
> Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and 
> Nathan Binkert.
> 
> 
> Summary
> -------
> 
> Fix mispredicts from non control instructions. The squash inside the
> fetch unit should not attempt to remove them from the branch predictor
> as non-control instructions are not pushed into the predictor.
> 
> 
> Diffs
> -----
> 
>   src/cpu/o3/comm.hh 2b5fbdcbfb5d 
>   src/cpu/o3/commit_impl.hh 2b5fbdcbfb5d 
>   src/cpu/o3/fetch_impl.hh 2b5fbdcbfb5d 
>   src/cpu/o3/iew_impl.hh 2b5fbdcbfb5d 
> 
> Diff: http://reviews.m5sim.org/r/343/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ali
> 
>

_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to