i965/fs: Enforce extended math exec size limits during SIMD lowering.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 20 May 2016 20:14:20 +0000 (13:14 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:19:21 +0000 (23:19 -0700)
commit2b5adb942bad418058d266c85c396040d558f680
tree5cde265ed7b2474dd9e9041dd7c1c9ab10d69c47
parenta8e7b4f1d9ec50d2214e7694da26af6a108e506f
i965/fs: Enforce extended math exec size limits during SIMD lowering.

This teaches the SIMD lowering pass about the hardware limits on the
execution size of math instructions, which will allow simplifying the
generator code and at the same time get rid of a number of bugs in the
manual SIMD unrolling done currently that prevent SIMD32 codegen from
working.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp