Changeset 1726 in CLRX


Ignore:
Timestamp:
Nov 17, 2015, 9:48:54 PM (5 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Doc updates: SOPP instruction's list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/doc/GcnInstrsSopp.md

    r1725 r1726  
    136136Description: End program.
    137137
     138#### S_NOP
     139
     140Opcode: 0 (0x0) 
     141Syntax: S_NOP SIMM16 
     142Description: Do nothing by (SIMM16&7) + 1 cycles. 
     143Operation: nothing
     144
     145#### S_SENDMSG
     146
     147Opcode: 16 (0x10) 
     148Syntax: S_SENDMSG SENDMSG(MSG, GS_OP, STREAMID) 
     149Description: Send message. List of messages:
     150
     151* INTERRUPT, MSG_INTERRUPT - interrupt. M0&0xff - carries user data,
     152IDs also sent (wave_id, cu_id, ...)
     153* GS, MSG_GS
     154* GS_DONE, MSG_GS_DONE
     155* SYSMSG, MSG_SYSMSG, SYSTEM, MSG_SYSTEM
     156
     157List of the GSOP:
     158
     159* NOP, GS_NOP - M0&0xff defines wave id. only GS_DONE
     160* CUT, GS_CUT - (SIMM16 & 0x300)>>8 - streamid, EXEC also sent, M0&0xff - gs waveID
     161* EMIT, GS_EMIT - (SIMM16 & 0x300)>>8 - streamid, EXEC also sent, M0&0xff - gs waveID
     162* EMIT_CUT, GS_EMIT_CUT - (SIMM16 & 0x300)>>8 - streamid, EXEC also sent,
     163M0&0xff - gs waveID
     164
     165#### S_SENDMSGHALT
     166
     167Opcode: 17 (0x11) 
     168Syntax: S_SENDMSGHALT SENDMSG(MSG, GS_OP, STREAMID) 
     169Description: Send message and halt.
     170
    138171#### S_SETHALT
    139172
     
    147180```
    148181
    149 #### S_NOP
    150 
    151 Opcode: 0 (0x0) 
    152 Syntax: S_NOP SIMM16 
    153 Description: Do nothing by (SIMM16&7) + 1 cycles. 
    154 Operation: nothing
     182#### S_SETPRIO
     183
     184Opcode: 15 (0xf) 
     185Syntax: S_SETPRIO SIMM16 
     186Description: Set priority to  SIMM16&3. 
     187Operation: 
     188```
     189PRIORITY = SIMM16&3
     190```
     191
     192#### S_SLEEP
     193
     194Opcode: 14 (0xe) 
     195Syntax: S_SLEEP SIMM16 
     196Description: Sleep approximately by (SIMM16&0x7)*64 cycles.
    155197
    156198#### S_WAITCNT
Note: See TracChangeset for help on using the changeset viewer.