Changes between Version 24 and Version 25 of GcnInstrsMimg
- Timestamp:
- 11/29/17 21:00:31 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GcnInstrsMimg
v24 v25 93 93 <td>63</td> 94 94 <td>D16</td> 95 <td>Convert 32-bit data to 16-bit data (GCN 1.2 )</td>95 <td>Convert 32-bit data to 16-bit data (GCN 1.2/1.4)</td> 96 96 </tr> 97 97 </tbody> … … 1119 1119 <p>Alphabetically sorted instruction list:</p> 1120 1120 <h4>IMAGE_ATOMIC_ADD</h4> 1121 <p>Opcode: 17 (0x11) for GCN 1.0/1.1; 18 (0x12) for GCN 1.2 <br />1121 <p>Opcode: 17 (0x11) for GCN 1.0/1.1; 18 (0x12) for GCN 1.2/1.4<br /> 1122 1122 Syntax: IMAGE_ATOMIC_ADD VDATA(1:4), VADDR(1:4), SRSRC(4,8)<br /> 1123 1123 Description: Add VDATA dwords or 64-bit words (if VDATA size is greater than 32-bit) … … 1149 1149 VDATA = (GLC) ? P : VDATA // atomic</code></p> 1150 1150 <h4>IMAGE_ATOMIC_CMPSWAP</h4> 1151 <p>Opcode: 16 (0x10) for GCN 1.0/1.1; 17 (0x11) for GCN 1.2 <br />1151 <p>Opcode: 16 (0x10) for GCN 1.0/1.1; 17 (0x11) for GCN 1.2/1.4<br /> 1152 1152 Syntax: IMAGE_ATOMIC_CMPSWAP VDATA(1:4), VADDR(1:4), SRSRC(4,8)<br /> 1153 1153 Description: Store first half of VDATA into image SRSRC to pixel at address VADDR if … … 1321 1321 VDATA = (GLC) ? P : VDATA // atomic</code></p> 1322 1322 <h4>IMAGE_ATOMIC_SUB</h4> 1323 <p>Opcode: 18 (0x12) for GCN 1.0/1.1; 19 (0x13) for GCN 1.2 <br />1323 <p>Opcode: 18 (0x12) for GCN 1.0/1.1; 19 (0x13) for GCN 1.2/1.4<br /> 1324 1324 Syntax: IMAGE_ATOMIC_SUB VDATA(1:4), VADDR(1:4), SRSRC(4,8)<br /> 1325 1325 Description: Subtract VDATA dwords or 64-bit words (if VDATA size is greater than 32-bit) … … 1338 1338 VDATA = (GLC) ? P : VDATA // atomic</code></p> 1339 1339 <h4>IMAGE_ATOMIC_SWAP</h4> 1340 <p>Opcode: 15 (0xf) for GCN 1.0/1.1; 16 (0x10) for GCN 1.2 <br />1340 <p>Opcode: 15 (0xf) for GCN 1.0/1.1; 16 (0x10) for GCN 1.2/1.4<br /> 1341 1341 Syntax: IMAGE_ATOMIC_SWAP VDATA(1:4), VADDR(1:4), SRSRC(4,8)<br /> 1342 1342 Description: Store VDATA into image SRSRC to pixel at address VADDR. If GLC is set then