Mesa (master): pan/bi: Fix ARSHIFT definitions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 9 19:50:31 UTC 2020


Module: Mesa
Branch: master
Commit: 3257ad21f34cfa82d32555983f45db1b70788eae
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3257ad21f34cfa82d32555983f45db1b70788eae

Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Nov  6 11:50:43 2020 +0100

pan/bi: Fix ARSHIFT definitions

src1 exists, and must be set to ZERO. If we don't add this source,
lane2 refers to src2 which does not exists.

Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7472>

---

 src/panfrost/bifrost/ISA.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/panfrost/bifrost/ISA.xml b/src/panfrost/bifrost/ISA.xml
index 20b88b6a1f3..0f323529701 100644
--- a/src/panfrost/bifrost/ISA.xml
+++ b/src/panfrost/bifrost/ISA.xml
@@ -25,6 +25,7 @@
 
   <ins name="*ARSHIFT.i32" mask="0x7ff838" exact="0x335018">
     <src start="0" mask="0xfb"/>
+    <src start="3" mask="0x8"/>
     <src start="6"/>
     <mod name="lane2" start="9" size="2" default="b0">
       <opt>b0</opt>
@@ -36,6 +37,7 @@
 
   <ins name="*ARSHIFT.v2i16">
     <src start="0" mask="0xfb"/>
+    <src start="3" mask="0x8"/>
     <src start="6"/>
     <mod name="lanes2" size="3" default="b02">
       <opt>b00</opt>
@@ -77,6 +79,7 @@
 
   <ins name="*ARSHIFT.v4i8">
     <src start="0" mask="0xfb"/>
+    <src start="3" mask="0x8"/>
     <src start="6"/>
     <mod name="lanes2" size="3" default="b0123">
       <opt>b0123</opt>



More information about the mesa-commit mailing list