i965/skl: Break down SIMD16 3-source instructions when required.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 4 Mar 2015 20:53:45 +0000 (12:53 -0800)
committerNeil Roberts <neil@linux.intel.com>
Fri, 20 Mar 2015 13:25:41 +0000 (13:25 +0000)
commit706b916960c898cfc24110f14fa4def84caaba93
treee541046469ab4f1e47bafdac36bd155307a20256
parentbc4b18d2977a94a6fb513bf5955236a0e92298ca
i965/skl: Break down SIMD16 3-source instructions when required.

Several steppings of Skylake fail when using SIMD16 with 3-source
instructions (such as MAD).

This implements WaDisableSIMD16On3SrcInstr and fixes ~190 Piglit
tests.

Based on a patch by Neil Roberts.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp