intel/fs: Output opt_combine_constants debug to stderr
It's a lot more useful to have it in the same stream with the INTEL_DEBUG=fs output. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22274>
This commit is contained in:
@@ -609,17 +609,18 @@ fs_visitor::opt_combine_constants()
|
|||||||
for (int i = 0; i < table.len; i++) {
|
for (int i = 0; i < table.len; i++) {
|
||||||
struct imm *imm = &table.imm[i];
|
struct imm *imm = &table.imm[i];
|
||||||
|
|
||||||
printf("0x%016" PRIx64 " - block %3d, reg %3d sub %2d, "
|
fprintf(stderr,
|
||||||
"Uses: (%2d, %2d), IP: %4d to %4d, length %4d\n",
|
"0x%016" PRIx64 " - block %3d, reg %3d sub %2d, "
|
||||||
(uint64_t)(imm->d & BITFIELD64_MASK(imm->size * 8)),
|
"Uses: (%2d, %2d), IP: %4d to %4d, length %4d\n",
|
||||||
imm->block->num,
|
(uint64_t)(imm->d & BITFIELD64_MASK(imm->size * 8)),
|
||||||
imm->nr,
|
imm->block->num,
|
||||||
imm->subreg_offset,
|
imm->nr,
|
||||||
imm->must_promote,
|
imm->subreg_offset,
|
||||||
imm->uses_by_coissue,
|
imm->must_promote,
|
||||||
imm->first_use_ip,
|
imm->uses_by_coissue,
|
||||||
imm->last_use_ip,
|
imm->first_use_ip,
|
||||||
imm->last_use_ip - imm->first_use_ip);
|
imm->last_use_ip,
|
||||||
|
imm->last_use_ip - imm->first_use_ip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user