pan/bi: Rename CLPER into CLPER_V7 and add CLPER_V6
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 12 Nov 2020 15:10:41 +0000 (16:10 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 13 Nov 2020 13:35:17 +0000 (14:35 +0100)
The encoding is different between v6 and v7.

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

src/panfrost/bifrost/ISA.xml

index 0f32352..9723a7e 100644 (file)
     <src start="6" mask="0xf7"/>
   </ins>
 
-  <ins name="+CLPER.i32" mask="0xfc000" exact="0x7c000">
+  <ins name="+CLPER_V6.i32" mask="0xfffc0" exact="0x3f0c0">
+    <src start="0" mask="0x7"/>
+    <src start="3"/>
+  </ins>
+
+  <ins name="+CLPER_V7.i32" mask="0xfc000" exact="0x7c000">
     <src start="0" mask="0x7"/>
     <src start="3"/>
     <mod name="lane_op" start="6" size="2">