Mesa (master): ir3: Add more a6xx-specific cat6 opcodes
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Nov 19 17:12:47 UTC 2020
Module: Mesa
Branch: master
Commit: 2cee8642ca3a3cbf2eea6c490a329837a34a2ffc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cee8642ca3a3cbf2eea6c490a329837a34a2ffc
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Fri Oct 23 13:51:47 2020 +0200
ir3: Add more a6xx-specific cat6 opcodes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7386>
---
src/freedreno/ir3/disasm-a3xx.c | 6 ++++++
src/freedreno/ir3/instr-a3xx.h | 7 +++++++
2 files changed, 13 insertions(+)
diff --git a/src/freedreno/ir3/disasm-a3xx.c b/src/freedreno/ir3/disasm-a3xx.c
index c9839229ebf..420d27442a8 100644
--- a/src/freedreno/ir3/disasm-a3xx.c
+++ b/src/freedreno/ir3/disasm-a3xx.c
@@ -1476,6 +1476,12 @@ static const struct opc_info {
OPC(6, OPC_STIB, stib),
OPC(6, OPC_LDC, ldc),
OPC(6, OPC_LDLV, ldlv),
+ OPC(6, OPC_PIPR, pipr),
+ OPC(6, OPC_PIPC, pipc),
+ OPC(6, OPC_EMIT2, emit),
+ OPC(6, OPC_ENDLS, endls),
+ OPC(6, OPC_GETSPID, getspid),
+ OPC(6, OPC_GETWID, getwid),
OPC(7, OPC_BAR, bar),
OPC(7, OPC_FENCE, fence),
diff --git a/src/freedreno/ir3/instr-a3xx.h b/src/freedreno/ir3/instr-a3xx.h
index 798013e1295..cb87cc2ccf6 100644
--- a/src/freedreno/ir3/instr-a3xx.h
+++ b/src/freedreno/ir3/instr-a3xx.h
@@ -236,6 +236,13 @@ typedef enum {
OPC_STIB = _OPC(6, 29),
OPC_LDC = _OPC(6, 30),
OPC_LDLV = _OPC(6, 31),
+ OPC_PIPR = _OPC(6, 32), /* ??? */
+ OPC_PIPC = _OPC(6, 33), /* ??? */
+ OPC_EMIT2 = _OPC(6, 34), /* ??? */
+ OPC_ENDLS = _OPC(6, 35), /* ??? */
+ OPC_GETSPID = _OPC(6, 36), /* SP ID */
+ OPC_GETWID = _OPC(6, 37), /* wavefront ID */
+
/* category 7: */
OPC_BAR = _OPC(7, 0),
More information about the mesa-commit
mailing list