diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c index 00644cce2fb..447f89982ce 100644 --- a/src/panfrost/bifrost/bi_print.c +++ b/src/panfrost/bifrost/bi_print.c @@ -285,6 +285,9 @@ bi_print_instruction(bi_instruction *ins, FILE *fp) if (ins->skip) fprintf(fp, ".skip"); + if (ins->no_spill) + fprintf(fp, ".no_spill"); + if (ins->vector_channels) fprintf(fp, ".v%u", ins->vector_channels); diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index 1debc43f87b..65be6d0a7fa 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -314,6 +314,10 @@ typedef struct { /* For memory ops, base address */ enum bi_segment segment; + /* Can we spill the value written here? Used to prevent + * useless double fills */ + bool no_spill; + /* A class-specific op from which the actual opcode can be derived * (along with the above information) */