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:
@@ -381,6 +381,22 @@ print_instr(struct log_stream *stream, struct ir3_instruction *instr, int lvl)
|
|||||||
mesa_log_stream_printf(stream, " ");
|
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;
|
bool first = true;
|
||||||
foreach_dst (reg, instr) {
|
foreach_dst (reg, instr) {
|
||||||
if (reg->wrmask == 0)
|
if (reg->wrmask == 0)
|
||||||
|
Reference in New Issue
Block a user