Changes between Version 10 and Version 11 of GcnInstrsSop1


Ignore:
Timestamp:
Jun 4, 2017, 8:00:22 AM (23 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsSop1

    v10 v11  
    323323<h4>S_ABS_I32</h4>
    324324<p>Opcode: 52 (0x34) for GCN 1.0/1.1; 48 (0x30) for GCN 1.2<br />
    325 Syntax: S_NOT_B32 SDST, SSRC0<br />
     325Syntax: S_ABS_B32 SDST, SSRC0<br />
    326326Description: Store absolute signed value of the SSRC0 into SDST.
    327327If result is non-zero, store 1 to SCC, otherwise store 0 to SCC.<br />
     
    341341<h4>S_ANDN2_SAVEEXEC_B64</h4>
    342342<p>Opcode: 39 (0x27) for GCN 1.0/1.1; 35 (0x23) for GCN 1.2<br />
    343 Syntax: S_AND_SAVEEXEC_B64 SDST(2), SSRC0(2)<br />
     343Syntax: S_ANDN2_SAVEEXEC_B64 SDST(2), SSRC0(2)<br />
    344344Description: Store EXEC register to SDST. Make bitwise AND on SSRC0 and negated EXEC
    345345and store result to EXEC. If result is non-zero, store 1 to SCC, otherwise store 0 to SCC.
     
    347347Operation:<br />
    348348<code>SDST = EXEC
    349 EXEC = SSRC0 &amp; EXEC
     349EXEC = SSRC0 &amp; ~EXEC
    350350SCC = EXEC!=0</code></p>
    351351<h4>S_BCNT0_I32_B32</h4>
     
    367367<h4>S_BCNT1_I32_B32</h4>
    368368<p>Opcode: 15 (0xf) for GCN 1.0/1.1; 12 (0xc) for GCN 1.2<br />
    369 Syntax: S_BCNT1_I32_B65 SDST, SSRC0<br />
     369Syntax: S_BCNT1_I32_B64 SDST, SSRC0<br />
    370370Description: Count one bits in SSRC0 and store result to SDST.
    371371If result is non-zero, store 1 to SCC, otherwise store 0 to SCC.<br />
    372372Operation:<br />
    373 <code>SDST = SDST(SSRC0)
     373<code>SDST = BITCOUNT(SSRC0)
    374374SCC = SDST!=0</code></p>
    375375<h4>S_BCNT1_I32_B64</h4>
     
    667667Operation: ???<br />
    668668<code>PC = TTMP[0:1]</code></p>
     669<h4>S_SET_GPR_IDX_IDX</h4>
     670<p>Opcode: 50 (0x32) for GCN 1.2<br />
     671Syntax S_SET_GPR_IDX_IDX SSRC0(1)<br />
     672Description: Move lowest 8 bits from SSRC0 to lowest 8 bits M0.<br />
     673Operation:<br />
     674<code>M0 = (M0 &amp; 0xffffff00) | (SSRC0 &amp; 0xff)</code></p>
    669675<h4>S_SETPC_B64</h4>
    670676<p>Opcode: 32 (0x20) for GCN 1.0/1.1; 29 (0x1d) for GCN 1.2<br />