From d0e88a2c2e77fb3d0ab0b94c853a55b01b8e5a4b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 21 Dec 2020 15:57:16 -0500 Subject: [PATCH] pan/bi: Test bi_must_message Signed-off-by: Alyssa Rosenzweig Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/bifrost/bi_schedule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c index 4ee22294694..a658738ff79 100644 --- a/src/panfrost/bifrost/bi_schedule.c +++ b/src/panfrost/bifrost/bi_schedule.c @@ -324,21 +324,25 @@ bi_test_units(bi_builder *b) assert(bi_can_fma(mov)); assert(bi_can_add(mov)); assert(!bi_must_last(mov)); + assert(!bi_must_message(mov)); bi_instr *fma = bi_fma_f32_to(b, TMP(), TMP(), TMP(), bi_zero(), BI_ROUND_NONE); assert(bi_can_fma(fma)); assert(!bi_can_add(fma)); assert(!bi_must_last(fma)); + assert(!bi_must_message(fma)); bi_instr *load = bi_load_i128_to(b, TMP(), TMP(), TMP(), BI_SEG_UBO); assert(!bi_can_fma(load)); assert(bi_can_add(load)); assert(!bi_must_last(load)); + assert(bi_must_message(load)); bi_instr *blend = bi_blend_to(b, TMP(), TMP(), TMP(), TMP(), TMP()); assert(!bi_can_fma(load)); assert(bi_can_add(load)); assert(bi_must_last(blend)); + assert(bi_must_message(blend)); } int bi_test_scheduler(void)