<div dir="auto">Rb</div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 7, 2017 4:00 AM, "Timothy Arceri" <<a href="mailto:timothy.arceri@collabora.com">timothy.arceri@collabora.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On BDW:<br>
<br>
total instructions in shared programs: 13061877 -> 13060965 (-0.01%)<br>
instructions in affected programs: 133569 -> 132657 (-0.68%)<br>
helped: 566<br>
HURT: 0<br>
<br>
total cycles in shared programs: 256611784 -> 256599536 (-0.00%)<br>
cycles in affected programs: 861016 -> 848768 (-1.42%)<br>
helped: 379<br>
HURT: 73<br>
---<br>
src/compiler/nir/nir_opt_<wbr>algebraic.py | 2 ++<br>
1 file changed, 2 insertions(+)<br>
<br>
diff --git a/src/compiler/nir/nir_opt_<wbr>algebraic.py b/src/compiler/nir/nir_opt_<wbr>algebraic.py<br>
index 7cee378..eaeca5e 100644<br>
--- a/src/compiler/nir/nir_opt_<wbr>algebraic.py<br>
+++ b/src/compiler/nir/nir_opt_<wbr>algebraic.py<br>
@@ -151,6 +151,8 @@ optimizations = [<br>
# inot(a)<br>
(('fge', 0.0, ('b2f', a)), ('inot', a)),<br>
<br>
+ (('fge', ('fneg', ('b2f', a)), 0.0), ('inot', a)),<br>
+<br>
# -(b2f(a) + b2f(b)) >= 0 becomes !(a || b)<br>
(('fge', ('fneg', ('fadd', ('b2f', a), ('b2f', b))), 0.0), ('inot', ('ior', a, b))),<br>
<br>
--<br>
2.9.3<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>