i965/vec4: Allow writemasking on math instructions on Gen7+.
authorMatt Turner <mattst88@gmail.com>
Thu, 29 May 2014 23:47:39 +0000 (16:47 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 30 May 2014 19:20:45 +0000 (12:20 -0700)
commit65bccff800dc1181ec2a6ee007a10ee0ec10b089
treed858d68d1845cedb349687ab703b11cfa962798f
parentd292d40207359cc70c004182484aaa939fd29e59
i965/vec4: Allow writemasking on math instructions on Gen7+.

The math instruction was Align1-only on Gen6 and we never updated this
to let it use Align16 features like writemasking on newer platforms.

total instructions in shared programs: 1686120 -> 1685507 (-0.04%)
instructions in affected programs:     48593 -> 47980 (-1.26%)

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