Changes between Version 34 and Version 35 of GcnInstrsVop2
- Timestamp:
- 11/26/17 15:00:32 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsVop2
v34 v35 136 136 <tr> 137 137 <td>11-14</td> 138 <td>OP SEL</td>138 <td>OP_SEL</td> 139 139 <td>Operand selection (VOP3A) (GCN 1.4)</td> 140 140 </tr> … … 197 197 <p>Negation and absolute value can be combined: <code>-ABS(V0)</code>. Modifiers CLAMP and 198 198 OMOD (MUL:2, MUL:4 and DIV:2) can be given in random order.</p> 199 <p>Operand half selection (OP SEL) take value with bits number depends of number operands.199 <p>Operand half selection (OP_SEL) take value with bits number depends of number operands. 200 200 Last bit control destination operand. Zero in bit choose lower 16-bits in dword, 201 201 one choose higher 16-bits. Example: op_sel:[0,1,1] - higher 16-bits in second source and 202 in destination.</p> 202 in destination. List of bits of OP_SEL field:</p> 203 <table> 204 <thead> 205 <tr> 206 <th>Bit</th> 207 <th>Operand</th> 208 <th>Description</th> 209 </tr> 210 </thead> 211 <tbody> 212 <tr> 213 <td>11</td> 214 <td>SRC0</td> 215 <td>Choose part of SRC0 (first source operand)</td> 216 </tr> 217 <tr> 218 <td>12</td> 219 <td>SRC1</td> 220 <td>Choose part of SRC1 (second source operand)</td> 221 </tr> 222 <tr> 223 <td>13</td> 224 <td>SRC2</td> 225 <td>Choose part of SRC2 (third source operand)</td> 226 </tr> 227 <tr> 228 <td>14</td> 229 <td>VDST</td> 230 <td>Choose part of VDST (destination)</td> 231 </tr> 232 </tbody> 233 </table> 203 234 <p>Limitations for operands:</p> 204 235 <ul>