i965/fs: Emit compressed 3-source instructions on Haswell.
authorMatt Turner <mattst88@gmail.com>
Sat, 16 Nov 2013 20:31:26 +0000 (12:31 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 20 Nov 2013 23:04:52 +0000 (15:04 -0800)
commit9bbedf6146be6ecad2863fd924c434a2a530c361
tree1144c8e003ba2c02abc9a2fce1709c4aaa4d8b2e
parent82bfb45e24c7a19031a19ad1d361c07dd3da4987
i965/fs: Emit compressed 3-source instructions on Haswell.

For commit 4df56177 Paul discovered that the hardware restriction that
Align16 instructions cannot be compressed was lifted on Haswell. This
has prevented us from emitting compressed three-source instructions.

For added confirmation, the bspec lists a work around called
WaBreakSimd16TernaryInstructionsIntoSimd8 that hasn't been applicable
since very early Haswell silicon.

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