Mesa (main): pan/va: Vectorize 8->16-bit conversions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 2 18:00:11 UTC 2022


Module: Mesa
Branch: main
Commit: cdb7c4e42d07877d2f83322dc122835400d01417
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdb7c4e42d07877d2f83322dc122835400d01417

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Sat Jan 29 11:20:49 2022 -0500

pan/va: Vectorize 8->16-bit conversions

Matches Bifrost, too.

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

---

 src/panfrost/bifrost/valhall/ISA.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml
index e97482cc14e..df210931281 100644
--- a/src/panfrost/bifrost/valhall/ISA.xml
+++ b/src/panfrost/bifrost/valhall/ISA.xml
@@ -1214,13 +1214,13 @@
 
     <ins name="S8_TO_S32" opcode2="0x0"/>
     <ins name="S8_TO_F32" opcode2="0x1"/>
-    <ins name="S8_TO_S16" opcode2="0x2"/>
-    <ins name="S8_TO_F16" opcode2="0x3"/>
+    <ins name="V2S8_TO_V2S16" opcode2="0x2"/>
+    <ins name="V2S8_TO_V2F16" opcode2="0x3"/>
 
     <ins name="U8_TO_U32" opcode2="0x10"/>
     <ins name="U8_TO_F32" opcode2="0x11"/>
-    <ins name="U8_TO_U16" opcode2="0x12"/>
-    <ins name="U8_TO_F16" opcode2="0x13"/>
+    <ins name="V2U8_TO_V2U16" opcode2="0x12"/>
+    <ins name="V2U8_TO_V2F16" opcode2="0x13"/>
 
     <src lane="28" size="8">Value to convert</src>
   </group>



More information about the mesa-commit mailing list