Changes between Version 7 and Version 8 of GcnInstrsSopp


Ignore:
Timestamp:
06/04/17 14:00:29 (6 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsSopp

    v7 v8  
    331331Syntax: S_ENDPGM<br />
    332332Description: End program.</p>
     333<h4>S_ENDPGM_SAVED</h4>
     334<p>Opcode: 27 (0x1b) only for GCN 1.2<br />
     335Syntax: S_ENDPGM_SAVED<br />
     336Description: End of program; signal that a wave has been saved by the context-switch trap handler, and
     337terminate wavefront. The hardware implicitly executes S_WAITCNT 0 before executing this
     338instruction. Use S_ENDPGM in all cases unless you are executing the context-switch save
     339handler. (from ISA manual)</p>
    333340<h4>S_ICACHE_INV</h4>
    334341<p>Opcode: 19 (0x13)<br />
     
    368375Syntax: S_SENDMSGHALT SENDMSG(MSG, GS_OP, STREAMID)<br />
    369376Description: Send message and halt.</p>
     377<h4>S_SET_GPR_IDX_MODE</h4>
     378<p>Opcode: 29 (0x1d) only for GCN 1.2<br />
     379Syntax: S_SET_GPR_IDX_MODE SIMM16<br />
     380Description: Set GPR indexing mode (12-15 bits in MO).<br />
     381Operation:<br />
     382<code>M0 = (M0 &amp; 0xffff0fff) | ((SIMM16 &amp; 15)&lt;&lt;12)</code></p>
     383<h4>S_SET_GPR_IDX_OFF</h4>
     384<p>Opcode: 28 (0x1c) only for GCN 1.2<br />
     385Syntax: S_SET_GPR_IDX_OFF<br />
     386Description: Disables GPR indexing.<br />
     387Operation:<br />
     388<code>MODE = (MODE &amp; ~(1U&lt;&lt;27))</code></p>
    370389<h4>S_SETHALT</h4>
    371390<p>Opcode: 13 (0xd)<br />