pan/va: Vectorize 8->16-bit conversions
authorAlyssa Rosenzweig <alyssa@collabora.com>
Sat, 29 Jan 2022 16:20:49 +0000 (11:20 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Feb 2022 17:42:01 +0000 (17:42 +0000)
Matches Bifrost, too.

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

src/panfrost/bifrost/valhall/ISA.xml

index e97482c..df21093 100644 (file)
 
     <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>