nvir/gm107: replace SHR+AND+AND with PRMT+PRMT in PFETCH lowering
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:23 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
commite0379e454933995378d6ad997af3f09840072ea6
tree8bbadd5cfb0250b4452737547d34aaf2fd79c5d5
parent4f7798be9fea0e4a2569ea3f9d7f5ba59e024fd6
nvir/gm107: replace SHR+AND+AND with PRMT+PRMT in PFETCH lowering

This is more SM70-friendly.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp