From 55837efe1475f1fb4e183b7a24398bd9014a7c45 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 6 Jul 2022 16:46:55 -0400 Subject: [PATCH] pan/bi: Lower fisnormal Fixes test_bruteforce.isnormal. We don't implement fisnormal in the backend, but actually lower_bool_to_bitsize was failing earlier since there's no fisnormal32 to lower to either. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h index 9922d64afb5..c23b51afee7 100644 --- a/src/panfrost/bifrost/bifrost_compile.h +++ b/src/panfrost/bifrost/bifrost_compile.h @@ -72,6 +72,7 @@ static const nir_shader_compiler_options bifrost_nir_options = { .lower_int64_options = ~0, /* TODO: Use IMULD on v7 */ .lower_mul_high = true, + .lower_fisnormal = true, .lower_uadd_carry = true, .lower_usub_borrow = true,