i965: Enable INTDIV in SIMD16 mode.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Jul 2014 21:33:15 +0000 (14:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Aug 2014 04:19:07 +0000 (21:19 -0700)
commitc66d928f2c9fa59e162c391fbdd37df969959718
tree83a64895eee0ed06ed5b9aabb6e09246b281f54f
parent24878f31c4287a6cc4cfd0fabc34075f9dad4e03
i965: Enable INTDIV in SIMD16 mode.

All we need to do is decompose this to two SIMD8 instructions, like we
do in many other cases.  We even already have code for that.

I apparently just botched this last time I tried, and it was easy.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp