ir3: Add more a6xx-specific cat6 opcodes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7386>
This commit is contained in:
Connor Abbott 2020-10-23 13:51:47 +02:00
parent c82d7be193
commit 2cee8642ca
2 changed files with 13 additions and 0 deletions

View file

@ -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),

View file

@ -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),