Changes between Version 7 and Version 8 of GcnInstrsSop2


Ignore:
Timestamp:
11/14/15 08:10:20 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsSop2

    v7 v8  
    372372If result is non-zero store 1 to SCC, otherwise store 0 to SCC.<br />
    373373Operation:<br />
    374 <code>UINT8 shift = length&amp;31
     374<code>UINT8 shift = SSRC1&amp;31
    375375UINT8 length = (SSRC1&gt;&gt;16) &amp; 0x7f
    376376if (length==0)
     
    387387If result is non-zero store 1 to SCC, otherwise store 0 to SCC.<br />
    388388Operation:<br />
    389 <code>UINT8 shift = length &amp; 31
     389<code>UINT8 shift = SSRC1 &amp; 31
    390390UINT8 length = (SSRC1&gt;&gt;16) &amp; 0x7f
    391391if (length==0)
     
    403403If result is non-zero store 1 to SCC, otherwise store 0 to SCC.<br />
    404404Operation:<br />
    405 <code>UINT8 shift = length&amp;63
     405<code>UINT8 shift = SSRC1&amp;63
    406406UINT8 length = (SSRC1&gt;&gt;16) &amp; 0x7f
    407407if (length==0)
     
    419419SDST, SSRC0 are 64-bit, SSRC1 is 32-bit.<br />
    420420Operation:<br />
    421 <code>UINT8 shift = length &amp; 63
     421<code>UINT8 shift = SSRC1 &amp; 63
    422422UINT8 length = (SSRC1&gt;&gt;16) &amp; 0x7f
    423423if (length==0)
     
    493493<p>Opcode: 8 (0x8)<br />
    494494Syntax: S_MIN_I32 SDST, SSRC0, SSRC1<br />
    495 Description: Choose largest signed value value from SSRC0 and SSRC1 and store its into SDST,
    496 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
     495Description: Choose largest signed value value from SSRC0 and SSRC1 and store
     496its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
    497497Operation:<br />
    498498<code>SDST = (INT32)SSRC0 &gt; (INT32)SSRC1 ? SSRC0 : SSRC1
     
    501501<p>Opcode: 9 (0x9)<br />
    502502Syntax: S_MAX_U32 SDST, SSRC0, SSRC1<br />
    503 Description: Choose largest unsigned value value from SSRC0 and SSRC1 and store its into SDST,
    504 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
     503Description: Choose largest unsigned value value from SSRC0 and SSRC1 and store
     504its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
    505505Operation:<br />
    506506<code>SDST = SSRC0 &gt; SSRC1 ? SSRC0 : SSRC1
     
    509509<p>Opcode: 6 (0x6)<br />
    510510Syntax: S_MIN_I32 SDST, SSRC0, SSRC1<br />
    511 Description: Choose smallest signed value value from SSRC0 and SSRC1 and store its into SDST,
    512 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
     511Description: Choose smallest signed value value from SSRC0 and SSRC1 and store
     512its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
    513513Operation:<br />
    514514<code>SDST = (INT32)SSRC0 &lt; (INT32)SSRC1 ? SSRC0 : SSRC1
     
    517517<p>Opcode: 7 (0x7)<br />
    518518Syntax: S_MIN_U32 SDST, SSRC0, SSRC1<br />
    519 Description: Choose smallest unsigned value value from SSRC0 and SSRC1 and store its into SDST,
    520 and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
     519Description: Choose smallest unsigned value value from SSRC0 and SSRC1 and store
     520its into SDST, and store 1 to SCC if SSRC0 value has been choosen, otherwise store 0 to SCC.<br />
    521521Operation:<br />
    522522<code>SDST = SSRC0 &lt; SSRC1 ? SSRC0 : SSRC1