Changes between Version 35 and Version 36 of GcnInstrsVop3
- Timestamp:
- 11/26/17 15:00:32 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsVop3
v35 v36 96 96 <tr> 97 97 <td>11-14</td> 98 <td>OP SEL</td>98 <td>OP_SEL</td> 99 99 <td>Operand selection (VOP3A) (GCN 1.4)</td> 100 100 </tr> … … 163 163 <p>Negation and absolute value can be combined: <code>-ABS(V0)</code>. Modifiers CLAMP and 164 164 OMOD (MUL:2, MUL:4 and DIV:2) can be given in random order.</p> 165 <p>Operand half selection (OP SEL) take value with bits number depends of number operands.165 <p>Operand half selection (OP_SEL) take value with bits number depends of number operands. 166 166 Last bit control destination operand. Zero in bit choose lower 16-bits in dword, 167 167 one choose higher 16-bits. Example: op_sel:[0,1,1] - higher 16-bits in second source and 168 in destination.</p> 168 in destination. List of bits of OP_SEL field:</p> 169 <table> 170 <thead> 171 <tr> 172 <th>Bit</th> 173 <th>Operand</th> 174 <th>Description</th> 175 </tr> 176 </thead> 177 <tbody> 178 <tr> 179 <td>11</td> 180 <td>SRC0</td> 181 <td>Choose part of SRC0 (first source operand)</td> 182 </tr> 183 <tr> 184 <td>12</td> 185 <td>SRC1</td> 186 <td>Choose part of SRC1 (second source operand)</td> 187 </tr> 188 <tr> 189 <td>13</td> 190 <td>SRC2</td> 191 <td>Choose part of SRC2 (third source operand)</td> 192 </tr> 193 <tr> 194 <td>14</td> 195 <td>VDST</td> 196 <td>Choose part of VDST (destination)</td> 197 </tr> 198 </tbody> 199 </table> 169 200 <p>Limitations for operands:</p> 170 201 <ul>