aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/bi_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/bifrost/bi_print.c')
-rw-r--r--src/panfrost/bifrost/bi_print.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c
index 2ce6e7c7158..5dc5947882e 100644
--- a/src/panfrost/bifrost/bi_print.c
+++ b/src/panfrost/bifrost/bi_print.c
@@ -281,6 +281,15 @@ bi_reduce_op_name(enum bi_reduce_op op)
}
}
+const char *
+bi_frexp_op_name(enum bi_frexp_op op)
+{
+ switch (op) {
+ case BI_FREXPE_LOG: return "frexpe_log";
+ default: return "invalid";
+ }
+}
+
static void
bi_print_load_vary(struct bi_load_vary *load, FILE *fp)
{
@@ -350,6 +359,8 @@ bi_print_instruction(bi_instruction *ins, FILE *fp)
fprintf(fp, "%s", bi_table_op_name(ins->op.table));
else if (ins->type == BI_REDUCE_FMA)
fprintf(fp, "%s", bi_reduce_op_name(ins->op.reduce));
+ else if (ins->type == BI_FREXP)
+ fprintf(fp, "%s", bi_frexp_op_name(ins->op.frexp));
else if (ins->type == BI_CMP)
fprintf(fp, "%s", bi_cond_name(ins->op.compare));
else