intel/compiler: Rotate instructions ROR and ROL cannot have source modifiers
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 30 Jul 2020 18:33:03 +0000 (11:33 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Nov 2020 21:23:53 +0000 (21:23 +0000)
commit6edc2a3d40406f5b0a5edd5bcccd3232ad50a61f
treeb409535021643591250c09bc7aaeee4169833948
parent366de8acc1763de04c052fe9d0cec34c138dd2c2
intel/compiler: Rotate instructions ROR and ROL cannot have source modifiers

I checked the Bspec for both Gen11 and Gen12, and it appears that rotate
instructions cannot have source modifiers or saturate modifer.  Saturate
was already handled.

Fixes: 1e92e83856b ("intel/compiler: Emit ROR and ROL instruction")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7650>
src/intel/compiler/brw_shader.cpp