cpu-minor: Convert the rest of the CPU to use PCStateBase *|&.

Change-Id: I528622cd5ad82dbcefe1462401841c6e28359ed3
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52049
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: ZHENGRONG WANG <seanyukigeek@gmail.com>
Maintainer: ZHENGRONG WANG <seanyukigeek@gmail.com>
This commit is contained in:
Gabe Black
2021-10-11 13:47:59 -07:00
parent f9cbef9bf7
commit 7497caefa5
8 changed files with 121 additions and 122 deletions

View File

@@ -145,7 +145,7 @@ BranchData::reportData(std::ostream &os) const
} else {
os << reason
<< ';' << newStreamSeqNum << '.' << newPredictionSeqNum
<< ";0x" << std::hex << target.instAddr() << std::dec
<< ";0x" << std::hex << target->instAddr() << std::dec
<< ';';
inst->reportData(os);
}
@@ -155,7 +155,7 @@ std::ostream &
operator <<(std::ostream &os, const BranchData &branch)
{
os << branch.reason << " target: 0x"
<< std::hex << branch.target.instAddr() << std::dec
<< std::hex << branch.target->instAddr() << std::dec
<< ' ' << *branch.inst
<< ' ' << branch.newStreamSeqNum << "(stream)."
<< branch.newPredictionSeqNum << "(pred)";