mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
pan/bi: Improve register printing
Use "r0" style to denote machine registers, consistent with the assembly. Use instead "nr0" for NIR registers so they don't collide. This reduces noise for the average case (either register allocated or almost SSA). Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
This commit is contained in:
parent
aaa2fa4e7a
commit
1bca6059b2
1 changed files with 2 additions and 2 deletions
|
|
@ -90,9 +90,9 @@ bi_print_index(FILE *fp, bi_index index)
|
|||
else if (index.type == BI_INDEX_PASS)
|
||||
fprintf(fp, "%s", bir_passthrough_name(index.value));
|
||||
else if (index.type == BI_INDEX_REGISTER)
|
||||
fprintf(fp, "br%u", index.value);
|
||||
else if (index.type == BI_INDEX_NORMAL && index.reg)
|
||||
fprintf(fp, "r%u", index.value);
|
||||
else if (index.type == BI_INDEX_NORMAL && index.reg)
|
||||
fprintf(fp, "nr%u", index.value);
|
||||
else if (index.type == BI_INDEX_NORMAL)
|
||||
fprintf(fp, "%u", index.value);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue