From: Rob Clark Date: Fri, 8 Mar 2019 23:42:22 +0000 (-0500) Subject: freedreno/ir3: turn on [iu]mul_high X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad259482610048e0e3cc8fc0cacd4581f1256b5d;p=mesa.git freedreno/ir3: turn on [iu]mul_high Which also requires uadd_carry lowering Until recently this was lowered in glsl ir so it went unnoticed that we weren't lowering it. Fixes: 1d8994a63b5 glsl: [u/i]mulExtended optimization for GLSL Signed-off-by: Rob Clark --- diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 4f5fe5dfd65..57595e00306 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -42,6 +42,8 @@ static const nir_shader_compiler_options options = { .lower_fdiv = true, .lower_isign = true, .lower_ldexp = true, + .lower_uadd_carry = true, + .lower_mul_high = true, .fuse_ffma = true, .native_integers = true, .vertex_id_zero_based = true, @@ -63,6 +65,8 @@ static const nir_shader_compiler_options options_a6xx = { .lower_fdiv = true, .lower_isign = true, .lower_ldexp = true, + .lower_uadd_carry = true, + .lower_mul_high = true, .fuse_ffma = true, .native_integers = true, .vertex_id_zero_based = false,