Mesa (master): pan/bi: Replace lane0 modifier with lane_dest for load instructions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 3 15:29:41 UTC 2021


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

Author: Icecream95 <ixn at disroot.org>
Date:   Sun Jan  3 21:54:26 2021 +1300

pan/bi: Replace lane0 modifier with lane_dest for load instructions

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10392>

---

 src/panfrost/bifrost/ISA.xml | 50 ++++++++++++++++++++++----------------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/src/panfrost/bifrost/ISA.xml b/src/panfrost/bifrost/ISA.xml
index d30ad6cfb88..7fd639b01be 100644
--- a/src/panfrost/bifrost/ISA.xml
+++ b/src/panfrost/bifrost/ISA.xml
@@ -7085,7 +7085,7 @@
       <reserved/>
       <opt>tl</opt>
     </mod>
-    <mod name="lane0" size="2" default="h0">
+    <mod name="lane_dest" size="2" default="h0">
       <opt>h0</opt>
       <opt>h1</opt>
       <opt>w0</opt>
@@ -7100,19 +7100,19 @@
       <and>
         <eq left="extend" right="#none"/>
         <or>
-          <eq left="lane0" right="#h0"/>
-          <eq left="lane0" right="#h1"/>
+          <eq left="lane_dest" right="#h0"/>
+          <eq left="lane_dest" right="#h1"/>
         </or>
       </and>
       <derived start="9" size="1">
-        <eq left="lane0" right="#h0"/>
-        <eq left="lane0" right="#h1"/>
+        <eq left="lane_dest" right="#h0"/>
+        <eq left="lane_dest" right="#h1"/>
       </derived>
     </encoding>
     <encoding mask="0xffc00" exact="0x63000">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane0" right="#w0"/>
+        <eq left="lane_dest" right="#w0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
@@ -7122,7 +7122,7 @@
     <encoding mask="0xffc00" exact="0x61800">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane0" right="#d0"/>
+        <eq left="lane_dest" right="#d0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
@@ -7159,7 +7159,7 @@
       <reserved/>
       <opt>tl</opt>
     </mod>
-    <mod name="lane0" size="1" opt="d0"/>
+    <mod name="lane_dest" size="1" opt="d0"/>
     <mod name="extend" size="2">
       <opt>none</opt>
       <opt>sext</opt>
@@ -7168,13 +7168,13 @@
     <encoding mask="0xffe00" exact="0x60c00">
       <and>
         <eq left="extend" right="#none"/>
-        <eq left="lane0" right="#none"/>
+        <eq left="lane_dest" right="#none"/>
       </and>
     </encoding>
     <encoding mask="0xffc00" exact="0x61c00">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane0" right="#d0"/>
+        <eq left="lane_dest" right="#d0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
@@ -7226,7 +7226,7 @@
       <reserved/>
       <opt>tl</opt>
     </mod>
-    <mod name="lane0" size="3" default="b0">
+    <mod name="lane_dest" size="3" default="b0">
       <opt>b0</opt>
       <opt>b1</opt>
       <opt>b2</opt>
@@ -7245,25 +7245,25 @@
       <and>
         <eq left="extend" right="#none"/>
         <or>
-          <eq left="lane0" right="#b0"/>
-          <eq left="lane0" right="#b1"/>
-          <eq left="lane0" right="#b2"/>
-          <eq left="lane0" right="#b3"/>
+          <eq left="lane_dest" right="#b0"/>
+          <eq left="lane_dest" right="#b1"/>
+          <eq left="lane_dest" right="#b2"/>
+          <eq left="lane_dest" right="#b3"/>
         </or>
       </and>
       <derived start="9" size="2">
-        <eq left="lane0" right="#b0"/>
-        <eq left="lane0" right="#b1"/>
-        <eq left="lane0" right="#b2"/>
-        <eq left="lane0" right="#b3"/>
+        <eq left="lane_dest" right="#b0"/>
+        <eq left="lane_dest" right="#b1"/>
+        <eq left="lane_dest" right="#b2"/>
+        <eq left="lane_dest" right="#b3"/>
       </derived>
     </encoding>
     <encoding mask="0xff800" exact="0x63800">
       <and>
         <neq left="extend" right="#none"/>
         <or>
-          <eq left="lane0" right="#h0"/>
-          <eq left="lane0" right="#h1"/>
+          <eq left="lane_dest" right="#h0"/>
+          <eq left="lane_dest" right="#h1"/>
         </or>
       </and>
       <derived start="9" size="1">
@@ -7271,14 +7271,14 @@
         <eq left="extend" right="#zext"/>
       </derived>
       <derived start="10" size="1">
-        <eq left="lane0" right="#h0"/>
-        <eq left="lane0" right="#h1"/>
+        <eq left="lane_dest" right="#h0"/>
+        <eq left="lane_dest" right="#h1"/>
       </derived>
     </encoding>
     <encoding mask="0xffc00" exact="0x63400">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane0" right="#w0"/>
+        <eq left="lane_dest" right="#w0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
@@ -7288,7 +7288,7 @@
     <encoding mask="0xffc00" exact="0x61400">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane0" right="#d0"/>
+        <eq left="lane_dest" right="#d0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>



More information about the mesa-commit mailing list