freedreno/ir3: sync disasm changes from envytools
[mesa.git] / src / freedreno / ir3 / instr-a3xx.h
index 9f460c9cdce7e27d34008a1f08dcd6db22f182b3..30f5e37953c312866f5aa8b50c2cf0489118eacc 100644 (file)
@@ -136,7 +136,14 @@ typedef enum {
        OPC_SIN             = _OPC(4, 4),
        OPC_COS             = _OPC(4, 5),
        OPC_SQRT            = _OPC(4, 6),
-       // 7-63 - invalid
+       /* NOTE that these are 8+opc from their highp equivs, so it's possible
+        * that the high order bit in the opc field has been repurposed for
+        * half-precision use?  But note that other ops (rcp/lsin/cos/sqrt)
+        * still use the same opc as highp
+        */
+       OPC_HRSQ            = _OPC(4, 9),
+       OPC_HLOG2           = _OPC(4, 10),
+       OPC_HEXP2           = _OPC(4, 11),
 
        /* category 5: */
        OPC_ISAM            = _OPC(5, 0),