intel/fs: work around gen12 lower-precision source modifier limitation
authorMark Janes <markjanes@swizzler.org>
Fri, 7 Aug 2020 20:11:08 +0000 (13:11 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 10 Aug 2020 20:30:45 +0000 (13:30 -0700)
commitcf52b40fb0bf53816ca4bb90e31ecd146fbcb533
treeb9eb069edfda5c72a9cd376bf1b717a2442a0a9f
parentee06e47c5b1d7e5132435ba4ed7be5a2b16bc77e
intel/fs: work around gen12 lower-precision source modifier limitation

GEN:BUG:1604601757 prevents source modifiers for multiplication of
lower precision integers.

lower_mul_dword_inst() splits 32x32 multiplication into 32x16, and
needs to eliminate source modifiers in this case.

Closes: #3329
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/brw_fs.cpp