intel/fs: Prevent emission of IR instructions not aligned to their own execution...
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 8 Nov 2018 22:03:24 +0000 (14:03 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 10 Nov 2018 03:39:22 +0000 (19:39 -0800)
commit552642066f511960c7fa7c0fdf1bf733982fc1c9
tree33588a98cbd1c309914f46dcc8f73e2900c9fec1
parent590fcb50e745a2d8a62dafa157f06d2bb7c590dc
intel/fs: Prevent emission of IR instructions not aligned to their own execution size.

This can occur during payload setup of SIMD-split send message
instructions, which can lead to the emission of header setup
instructions with a non-zero channel group and fixed SIMD width.  Such
instructions could end up using undefined channel enable signals
except they don't care since they're always marked force_writemask_all.

Not known to affect correctness of any workload at this point, but it
would be trivial to back-port to stable if something comes up.

Reported-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Tested-by: Sagar Ghuge <sagar.ghuge@intel.com>
src/intel/compiler/brw_fs_builder.h