OSDN Git Service

i965/fs: Allow CSE on math opcodes on Gen6+.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Jul 2013 07:30:05 +0000 (00:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Jun 2014 23:38:25 +0000 (16:38 -0700)
commit3a439534de6d5331c1ec436d23a1a909f87c4660
treecd30e7fb82daea045b8555068fedac3548dfbffa
parent2c9a1518a104139f24f570ba4c134c2fb7ecf960
i965/fs: Allow CSE on math opcodes on Gen6+.

total instructions in shared programs: 2081469 -> 2081248 (-0.01%)
instructions in affected programs:     22606 -> 22385 (-0.98%)
No programs were hurt by this patch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs_cse.cpp