mesa/src
Kenneth Graunke 3e56572c49 nir: Add a bunch of algebraic optimizations on logic/bit operations.
Matt and I noticed a bunch of "val <- ior a a" operations in a shader,
so we decided to add an algebraic optimization for that.  While there,
I decided to add a bunch more of them.

v2: Delete bogus fand/for optimizations (caught by Jason).

total NIR instructions in shared programs: 2023511 -> 2020814 (-0.13%)
NIR instructions in affected programs:     149634 -> 146937 (-1.80%)
helped:                                    1032

total i965 instructions in shared programs: 6035392 -> 6035397 (0.00%)
i965 instructions in affected programs:     537 -> 542 (0.93%)
HURT:                                       2

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2015-01-23 14:53:26 -08:00
..
egl egl/wayland: Fix unused variable warnings 2015-01-13 11:33:23 -08:00
gallium st/nine: Correctly handle when ff vs should have no texture coord input/output 2015-01-22 22:16:24 +00:00
gbm gbm: Define _DEFAULT_SOURCE to avoid warning 2015-01-16 21:54:54 -08:00
getopt
glsl nir: Add a bunch of algebraic optimizations on logic/bit operations. 2015-01-23 14:53:26 -08:00
glx mesa: remove support for GCC older than 3.3.0 2014-12-17 08:37:05 +11:00
gtest gtest: Add headers to distribution. 2014-12-12 12:11:46 -08:00
hgl hgl: traverse add-on entries 2014-12-10 14:01:01 +00:00
loader loader: Remove NEED_OPENGL_COMMON check. 2015-01-23 14:28:44 -08:00
mapi mapi: Build with subdir-objects. 2015-01-23 14:28:44 -08:00
mesa i965/nir: Report NIR instruction counts (in SSA form) via KHR_debug. 2015-01-23 14:53:26 -08:00
util mesa: Fix some signed-unsigned comparison warnings 2015-01-21 14:05:52 +00:00
Makefile.am glsl: Build a libglsl_util library. 2015-01-23 14:28:44 -08:00
SConscript egl: Fix non-dri SCons builds re #87657 2014-12-25 10:34:49 -05:00