Changes between Version 19 and Version 20 of GcnInstrsVop3


Ignore:
Timestamp:
12/12/15 23:01:08 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsVop3

    v19 v20  
    176176<th>Opcode</th>
    177177<th>Mnemonic (GCN 1.0)</th>
    178 <th>Mnemonic (GCN 1.0)</th>
     178<th>Mnemonic (GCN 1.1)</th>
    179179</tr>
    180180</thead>
     
    830830<p>Opcode: 651 (0x28b) for GCN 1.2<br />
    831831Syntax: V_BCNT_U32_B32 VDST, SRC0, SRC1<br />
    832 Description: Count bits in SRC0, adds SSRC1, and store result to VDST.<br />
     832Description: Count bits in SRC0, adds SRC1, and store result to VDST.<br />
    833833Operation:<br />
    834834<code>VDST = SRC1 + BITCOUNT(SRC0)</code></p>
     
    11181118and store that value to VDST, and set flag in bit for current lane in SDST.
    11191119If SRC0 is NaN or infinity then store SRC0 to VDST and set flag.
    1120 Otherwise store SRC0 to VDST and clear flag.<br />
     1120Otherwise store SRC0 to VDST and clear flag.
     1121Bits for inactive threads in SDST are always zeroed.<br />
    11211122Operation:<br />
    11221123<code>FLOAT SF0 = ASFLOAT(SRC0)
     
    11241125FLOAT SF2 = ASFLOAT(SRC2)
    11251126FLOAT S12 = (SRC0!=SRC1) ? SF1 : SF2
     1127SDST = 0
    11261128if (ISNAN(SF0) || ABS(SF0) == INF)
    11271129{
     
    11511153and store that value to VDST, and set flag in bit for current lane in SDST.
    11521154If SRC0 is NaN or infinity then store SRC0 to VDST and set flag.
    1153 Otherwise store SRC0 to VDST and clear flag.<br />
     1155Otherwise store SRC0 to VDST and clear flag.
     1156Bits for inactive threads in SDST are always zeroed.<br />
    11541157Operation:<br />
    11551158<code>DOUBLE SD0 = ASDOUBLE(SRC0)
     
    11581161DOUBLE S12 = (SRC0!=SRC1) ? SD1 : SD2
    11591162UINT64 MASK = (1ULL&lt;&lt;LANEID)
     1163SDST = 0
    11601164if (ISNAN(SD0) || ABS(SD0) == INF)
    11611165{