i965/fs: Add algebraic optimizations for MAD.
authorMatt Turner <mattst88@gmail.com>
Mon, 10 Nov 2014 01:27:52 +0000 (17:27 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 18 Feb 2015 04:44:09 +0000 (20:44 -0800)
commitbb33a31c3830945ae768ebdaeb686291bdf897fa
tree538c005d173524fcfafe2fb3c4fd50245499c841
parent8cfd1e2ac6b0d509d34c7d155a95016cd80338ed
i965/fs: Add algebraic optimizations for MAD.

total instructions in shared programs: 5764176 -> 5763808 (-0.01%)
instructions in affected programs:     25121 -> 24753 (-1.46%)
helped:                                164
HURT:                                  2

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp