Changes between Version 6 and Version 7 of GcnInstrsSop1


Ignore:
Timestamp:
Nov 22, 2015, 9:00:19 PM (5 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsSop1

    v6 v7  
    355355If result is non-zero, store 1 to SCC, otherwise store 0 to SCC.<br />
    356356Operation:<br />
    357 <code>SDST = 0
    358 for (UINT8 i = 0; i &lt; 32; i++)
    359     SDST += ((1U&lt;&lt;i) &amp; SSRC0) == 0
     357<code>SDST = BITCOUNT(~SSRC0)
    360358SCC = SDST!=0</code></p>
    361359<h4>S_BCNT0_I32_B64</h4>
     
    365363If result is non-zero, store 1 to SCC, otherwise store 0 to SCC. SSRC0 is 64-bit.<br />
    366364Operation:<br />
    367 <code>SDST = 0
    368 for (UINT8 i = 0; i &lt; 64; i++)
    369     SDST += ((1ULL&lt;&lt;i) &amp; SSRC0) == 0
     365<code>SDST = BITCOUNT(~SSRC0)
    370366SCC = SDST!=0</code></p>
    371367<h4>S_BCNT1_I32_B32</h4>
     
    375371If result is non-zero, store 1 to SCC, otherwise store 0 to SCC.<br />
    376372Operation:<br />
    377 <code>SDST = 0
    378 for (UINT8 i = 0; i &lt; 32; i++)
    379     SDST += ((1U&lt;&lt;i) &amp; SSRC0) != 0
     373<code>SDST = SDST(SSRC0)
    380374SCC = SDST!=0</code></p>
    381375<h4>S_BCNT1_I32_B64</h4>
     
    385379If result is non-zero, store 1 to SCC, otherwise store 0 to SCC. SSRC0 is 64-bit.<br />
    386380Operation:<br />
    387 <code>SDST = 0
    388 for (UINT8 i = 0; i &lt; 64; i++)
    389     SDST += ((1ULL&lt;&lt;i) &amp; SSRC0) != 0
     381<code>SDST = BITCOUNT(SSRC0)
    390382SCC = SDST!=0</code></p>
    391383<h4>S_BITSET0_B32</h4>