Post-schedule, nops are significnat here.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
fprintf(fp, "\n");
}
+
+void
+bi_print_bundle(bi_bundle *bundle, FILE *fp)
+{
+ bi_instruction *ins[2] = { bundle->fma, bundle->add };
+
+ for (unsigned i = 0; i < 2; ++i) {
+ if (ins[i])
+ bi_print_instruction(ins[i], fp);
+ else
+ fprintf(fp, "nop\n");
+ }
+}
+
const char * bi_ldst_type_name(enum bifrost_ldst_type type);
void bi_print_instruction(bi_instruction *ins, FILE *fp);
+void bi_print_bundle(bi_bundle *bundle, FILE *fp);
#endif