diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index 5512bbea384..5b9adc8e73d 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -2426,9 +2426,6 @@ bi_emit_alu(bi_builder *b, nir_alu_instr *instr) bi_fma_to(b, sz, dst, s0, s1, bi_negzero()); break; - case nir_op_fsub: - s1 = bi_neg(s1); - FALLTHROUGH; case nir_op_fadd: bi_fadd_to(b, sz, dst, s0, s1); break; diff --git a/src/panfrost/compiler/bifrost_compile.h b/src/panfrost/compiler/bifrost_compile.h index dca1abade6b..4f2a38f79f8 100644 --- a/src/panfrost/compiler/bifrost_compile.h +++ b/src/panfrost/compiler/bifrost_compile.h @@ -83,7 +83,6 @@ void bifrost_compile_shader_nir(nir_shader *nir, .lower_uadd_carry = true, \ .lower_usub_borrow = true, \ \ - .has_fsub = true, \ .has_isub = true, \ .vectorize_io = true, \ .vectorize_vec2_16bit = true, \