pan/bi: Use consistent naming of lane/lane0
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 27 Nov 2020 19:48:44 +0000 (14:48 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 23 Dec 2020 17:06:56 +0000 (17:06 +0000)
It's always a source modifier.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>

src/panfrost/bifrost/ISA.xml

index 4cb7fbe..5fadf0b 100644 (file)
       <reserved/>
       <opt>tl</opt>
     </mod>
-    <mod name="lane" size="2" default="h0">
+    <mod name="lane0" size="2" default="h0">
       <opt>h0</opt>
       <opt>h1</opt>
       <opt>w0</opt>
       <and>
         <eq left="extend" right="#none"/>
         <or>
-          <eq left="lane" right="#h0"/>
-          <eq left="lane" right="#h1"/>
+          <eq left="lane0" right="#h0"/>
+          <eq left="lane0" right="#h1"/>
         </or>
       </and>
       <derived start="9" size="1">
-        <eq left="lane" right="#h0"/>
-        <eq left="lane" right="#h1"/>
+        <eq left="lane0" right="#h0"/>
+        <eq left="lane0" right="#h1"/>
       </derived>
     </encoding>
     <encoding mask="0xffc00" exact="0x63000">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane" right="#w0"/>
+        <eq left="lane0" right="#w0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
     <encoding mask="0xffc00" exact="0x61800">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane" right="#d0"/>
+        <eq left="lane0" right="#d0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
       <reserved/>
       <opt>tl</opt>
     </mod>
-    <mod name="lane" size="1" opt="d0"/>
+    <mod name="lane0" size="1" opt="d0"/>
     <mod name="extend" size="2">
       <opt>none</opt>
       <opt>sext</opt>
     <encoding mask="0xffe00" exact="0x60c00">
       <and>
         <eq left="extend" right="#none"/>
-        <eq left="lane" right="#none"/>
+        <eq left="lane0" right="#none"/>
       </and>
     </encoding>
     <encoding mask="0xffc00" exact="0x61c00">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane" right="#d0"/>
+        <eq left="lane0" right="#d0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
       <reserved/>
       <opt>tl</opt>
     </mod>
-    <mod name="lane" size="3" default="b0">
+    <mod name="lane0" size="3" default="b0">
       <opt>b0</opt>
       <opt>b1</opt>
       <opt>b2</opt>
       <and>
         <eq left="extend" right="#none"/>
         <or>
-          <eq left="lane" right="#b0"/>
-          <eq left="lane" right="#b1"/>
-          <eq left="lane" right="#b2"/>
-          <eq left="lane" right="#b3"/>
+          <eq left="lane0" right="#b0"/>
+          <eq left="lane0" right="#b1"/>
+          <eq left="lane0" right="#b2"/>
+          <eq left="lane0" right="#b3"/>
         </or>
       </and>
       <derived start="9" size="2">
-        <eq left="lane" right="#b0"/>
-        <eq left="lane" right="#b1"/>
-        <eq left="lane" right="#b2"/>
-        <eq left="lane" right="#b3"/>
+        <eq left="lane0" right="#b0"/>
+        <eq left="lane0" right="#b1"/>
+        <eq left="lane0" right="#b2"/>
+        <eq left="lane0" right="#b3"/>
       </derived>
     </encoding>
     <encoding mask="0xff800" exact="0x63800">
       <and>
         <neq left="extend" right="#none"/>
         <or>
-          <eq left="lane" right="#h0"/>
-          <eq left="lane" right="#h1"/>
+          <eq left="lane0" right="#h0"/>
+          <eq left="lane0" right="#h1"/>
         </or>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#zext"/>
       </derived>
       <derived start="10" size="1">
-        <eq left="lane" right="#h0"/>
-        <eq left="lane" right="#h1"/>
+        <eq left="lane0" right="#h0"/>
+        <eq left="lane0" right="#h1"/>
       </derived>
     </encoding>
     <encoding mask="0xffc00" exact="0x63400">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane" right="#w0"/>
+        <eq left="lane0" right="#w0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>
     <encoding mask="0xffc00" exact="0x61400">
       <and>
         <neq left="extend" right="#none"/>
-        <eq left="lane" right="#d0"/>
+        <eq left="lane0" right="#d0"/>
       </and>
       <derived start="9" size="1">
         <eq left="extend" right="#sext"/>