Hexadecimal register numbers are confusing.
This commit is contained in:
@@ -117,7 +117,7 @@ void Core::step() {
|
|||||||
if (USE_DEBUG >= 3) {
|
if (USE_DEBUG >= 3) {
|
||||||
D(3, "Register state:");
|
D(3, "Register state:");
|
||||||
for (unsigned i = 0; i < reg[0].size(); ++i) {
|
for (unsigned i = 0; i < reg[0].size(); ++i) {
|
||||||
D_RAW(" %r" << i << ':');
|
D_RAW(dec << " %r" << i << ':');
|
||||||
for (unsigned j = 0; j < reg.size(); ++j)
|
for (unsigned j = 0; j < reg.size(); ++j)
|
||||||
D_RAW(' ' << hex << reg[j][i] << ' ');
|
D_RAW(' ' << hex << reg[j][i] << ' ');
|
||||||
D_RAW('(' << shadowReg[i] << ')' << endl);
|
D_RAW('(' << shadowReg[i] << ')' << endl);
|
||||||
|
|||||||
@@ -84,6 +84,8 @@ Instruction::InstTableEntry Instruction::instTable[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
ostream &Harp::operator<<(ostream& os, Instruction &inst) {
|
ostream &Harp::operator<<(ostream& os, Instruction &inst) {
|
||||||
|
os << dec;
|
||||||
|
|
||||||
if (inst.predicated) {
|
if (inst.predicated) {
|
||||||
os << "@p" << inst.pred << " ? ";
|
os << "@p" << inst.pred << " ? ";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user