ir3: print rounding mode for cov

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29843>
This commit is contained in:
Job Noorman
2024-06-24 10:33:11 +02:00
committed by Marge Bot
parent 8c2bfa279d
commit 93db751c63

View File

@@ -381,6 +381,22 @@ print_instr(struct log_stream *stream, struct ir3_instruction *instr, int lvl)
mesa_log_stream_printf(stream, " ");
}
if (opc_cat(instr->opc) == 1) {
switch (instr->cat1.round) {
case ROUND_ZERO:
break;
case ROUND_EVEN:
mesa_log_stream_printf(stream, "(even)");
break;
case ROUND_POS_INF:
mesa_log_stream_printf(stream, "(pos_infinity)");
break;
case ROUND_NEG_INF:
mesa_log_stream_printf(stream, "(neg_infinity)");
break;
}
}
bool first = true;
foreach_dst (reg, instr) {
if (reg->wrmask == 0)