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