Changes between Version 32 and Version 33 of GcnInstrsVop3
- Timestamp:
- 11/25/17 22:00:28 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsVop3
v32 v33 74 74 </tbody> 75 75 </table> 76 <p>List of fields for VOP3A/VOP3B encoding (GCN 1.2 ):</p>76 <p>List of fields for VOP3A/VOP3B encoding (GCN 1.2/1.4):</p> 77 77 <table> 78 78 <thead> … … 93 93 <td>ABS</td> 94 94 <td>Absolute modifiers for source operands (VOP3A)</td> 95 </tr> 96 <tr> 97 <td>11-14</td> 98 <td>OPSEL</td> 99 <td>Operand selection (VOP3A) (GCN 1.4)</td> 95 100 </tr> 96 101 <tr> … … 149 154 <li>-SRC - negate floating point value from source operand. Applied after ABS modifier.</li> 150 155 <li>ABS(SRC), |SRC| - apply absolute value to source operand</li> 156 <li>OPSEL:VALUE|[B0,...] - operand half selection (0 - lower 16-bits, 1 - bits)</li> 151 157 </ul> 152 158 <p>NOTE: OMOD modifier doesn't work if output denormals are allowed … … 157 163 <p>Negation and absolute value can be combined: <code>-ABS(V0)</code>. Modifiers CLAMP and 158 164 OMOD (MUL:2, MUL:4 and DIV:2) can be given in random order.</p> 165 <p>Operand half selection (OPSEL) take value with bits number depends of number operands. 166 Last bit control destination operand. Zero in bit choose lower 16-bits in dword, 167 one choose higher 16-bits. Example: op_sel:[0,1,1] - higher 16-bits in second source and 168 in destination.</p> 159 169 <p>Limitations for operands:</p> 160 170 <ul>