[Mesa-dev] [PATCH 11/10] nir: add inot/fnot to move comparison list
Timothy Arceri
timothy.arceri at collabora.com
Sun Jan 8 13:05:24 UTC 2017
On BDW:
total instructions in shared programs: 13060680 -> 13060620 (-0.00%)
instructions in affected programs: 6060 -> 6000 (-0.99%)
helped: 7
HURT: 0
total cycles in shared programs: 256601956 -> 256590950 (-0.00%)
cycles in affected programs: 1269546 -> 1258540 (-0.87%)
helped: 23
HURT: 11
---
src/compiler/nir/nir_opt_move_comparisons.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/compiler/nir/nir_opt_move_comparisons.c b/src/compiler/nir/nir_opt_move_comparisons.c
index e6bee94..1cb3e55 100644
--- a/src/compiler/nir/nir_opt_move_comparisons.c
+++ b/src/compiler/nir/nir_opt_move_comparisons.c
@@ -66,6 +66,8 @@ is_comparison(nir_op op)
case nir_op_ine:
case nir_op_i2b:
case nir_op_f2b:
+ case nir_op_inot:
+ case nir_op_fnot:
return true;
default:
return false;
--
2.9.3
More information about the mesa-dev
mailing list