04d0d4e849
Add logical shift left and right operations support to mi_builder. v1: - Add GEN_GEN > 12 check (Jordan Justen) - Add gen_mi_has_shift function (Jordan Justen) - Fix commit title (Jordan Justen) v2 (Jason Ekstrand): - Add _imm versions of all of them - Better handle corner-cases in _imm helpers - Handle the power-of-two limitation for _imm versions - Add tests Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9445>