mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01:00
nv50/ir: print relevant file's bitset when showing RA info
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
98d40b4d11
commit
d873608bcf
1 changed files with 4 additions and 4 deletions
|
|
@ -101,7 +101,7 @@ public:
|
|||
return (size < 4) ? u : ((u << unit[f]) / 4);
|
||||
}
|
||||
|
||||
void print() const;
|
||||
void print(DataFile f) const;
|
||||
|
||||
const bool restrictedGPR16Range;
|
||||
|
||||
|
|
@ -156,10 +156,10 @@ RegisterSet::intersect(DataFile f, const RegisterSet *set)
|
|||
}
|
||||
|
||||
void
|
||||
RegisterSet::print() const
|
||||
RegisterSet::print(DataFile f) const
|
||||
{
|
||||
INFO("GPR:");
|
||||
bits[FILE_GPR].print();
|
||||
bits[f].print();
|
||||
INFO("\n");
|
||||
}
|
||||
|
||||
|
|
@ -1424,7 +1424,7 @@ GCRA::selectRegisters()
|
|||
continue;
|
||||
LValue *lval = node->getValue();
|
||||
if (prog->dbgFlags & NV50_IR_DEBUG_REG_ALLOC)
|
||||
regs.print();
|
||||
regs.print(node->f);
|
||||
bool ret = regs.assign(node->reg, node->f, node->colors);
|
||||
if (ret) {
|
||||
INFO_DBG(prog->dbgFlags, REG_ALLOC, "assigned reg %i\n", node->reg);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue