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++) {
|
||||
struct imm *imm = &table.imm[i];
|
||||
|
||||
printf("0x%016" PRIx64 " - block %3d, reg %3d sub %2d, "
|
||||
"Uses: (%2d, %2d), IP: %4d to %4d, length %4d\n",
|
||||
(uint64_t)(imm->d & BITFIELD64_MASK(imm->size * 8)),
|
||||
imm->block->num,
|
||||
imm->nr,
|
||||
imm->subreg_offset,
|
||||
imm->must_promote,
|
||||
imm->uses_by_coissue,
|
||||
imm->first_use_ip,
|
||||
imm->last_use_ip,
|
||||
imm->last_use_ip - imm->first_use_ip);
|
||||
fprintf(stderr,
|
||||
"0x%016" PRIx64 " - block %3d, reg %3d sub %2d, "
|
||||
"Uses: (%2d, %2d), IP: %4d to %4d, length %4d\n",
|
||||
(uint64_t)(imm->d & BITFIELD64_MASK(imm->size * 8)),
|
||||
imm->block->num,
|
||||
imm->nr,
|
||||
imm->subreg_offset,
|
||||
imm->must_promote,
|
||||
imm->uses_by_coissue,
|
||||
imm->first_use_ip,
|
||||
imm->last_use_ip,
|
||||
imm->last_use_ip - imm->first_use_ip);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user