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:
@@ -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)";
|
||||
|
||||
Reference in New Issue
Block a user