gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Branch Misprediction counters

AS
Abhishek Singh
Wed, Sep 27, 2023 5:11 PM

Hello,

I've observed that there are three counters that keep track of branch
misprediction at different stages, specifically Decode, IEW, and Commit.

  1. Could anyone confirm if my understanding is correct that the Decode
    counter  (system.chips.clusters.cpu_groups0.cpus.decode.branchMispred) is
    separate from the Commit counter
    (system.chips.clusters.cpu_groups0.cpus.commit.branchMispredicts)?
  2. Are IEW branchMispredicts
    (system.chips.clusters.cpu_groups0.cpus.iew.branchMispredicts) included in
    the Commit counter?

Thank you,
Abhishek Singh

Hello, I've observed that there are three counters that keep track of branch misprediction at different stages, specifically Decode, IEW, and Commit. 1. Could anyone confirm if my understanding is correct that the Decode counter (system.chips.clusters.cpu_groups0.cpus.decode.branchMispred) is separate from the Commit counter (system.chips.clusters.cpu_groups0.cpus.commit.branchMispredicts)? 2. Are IEW branchMispredicts (system.chips.clusters.cpu_groups0.cpus.iew.branchMispredicts) included in the Commit counter? Thank you, Abhishek Singh