mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
Hexadecimal register numbers are confusing.
This commit is contained in:
parent
a95bb3b097
commit
1574f3a60d
2 changed files with 3 additions and 1 deletions
|
@ -117,7 +117,7 @@ void Core::step() {
|
|||
if (USE_DEBUG >= 3) {
|
||||
D(3, "Register state:");
|
||||
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)
|
||||
D_RAW(' ' << hex << reg[j][i] << ' ');
|
||||
D_RAW('(' << shadowReg[i] << ')' << endl);
|
||||
|
|
|
@ -84,6 +84,8 @@ Instruction::InstTableEntry Instruction::instTable[] = {
|
|||
};
|
||||
|
||||
ostream &Harp::operator<<(ostream& os, Instruction &inst) {
|
||||
os << dec;
|
||||
|
||||
if (inst.predicated) {
|
||||
os << "@p" << inst.pred << " ? ";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue