pan/va: Add missing TABLE (SFU) instructions
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 30 Mar 2022 14:13:14 +0000 (10:13 -0400)
committerAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 2 May 2022 15:11:08 +0000 (11:11 -0400)
Equivalent to their Bifrost predecessors.

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

src/panfrost/bifrost/valhall/ISA.xml

index b5f7676..e736b8c 100644 (file)
     <ins name="FRSQ.f32" opcode2="2"/>
     <ins name="FRSQ.f16" opcode2="3"/>
     <ins name="FLOGD.f32" opcode2="8"/>
+    <ins name="FPCLASS.f32" opcode2="10"/>
+    <ins name="FPCLASS.f16" opcode2="11"/>
+    <ins name="FLOG_TABLE.f32" opcode2="12"/>
+    <ins name="FRCP_APPROX.f32" opcode2="14"/>
+    <ins name="FRSQ_APPROX.f32" opcode2="15"/>
     <desc>
       Performs a given special function. The floating-point reciprocal (`FRCP`)
       and reciprocal square root (`FRSQ`) instructions may be freely used as-is.
   <group name="SFU" title="Special function unit" dests="1" opcode="0x9C" unit="SFU">
     <ins name="FSIN_TABLE.u6" opcode2="4"/>
     <ins name="FCOS_TABLE.u6" opcode2="5"/>
+    <ins name="FSINCOS_OFFSET.u6" opcode2="6"/>
+    <ins name="FEXP_TABLE.u4" opcode2="13"/>
     <desc>
       Performs a given special function.The trigonometric tables (`FSIN_TABLE.u6` and `FCOS_TABLE.u6`) are crude,
       requiring both an argument reduction and postprocessing.