Changes between Version 13 and Version 14 of GcnInstrsMubuf


Ignore:
Timestamp:
06/18/17 10:00:26 (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsMubuf

    v13 v14  
    538538</tbody>
    539539</table>
    540 <p>List of the MUBUF instructions by opcode (GCN 1.0/1.1):</p>
     540<p>List of the MUBUF instructions by opcode (GCN 1.2):</p>
    541541<table>
    542542<thead>
     
    11571157VDATA[2] = VM[2]
    11581158VDATA[3] = VM[3]</code></p>
     1159<h4>BUFFER_LOAD_FORMAT_D16_X</h4>
     1160<p>Opcode: 8 (0x8)<br />
     1161Syntax: BUFFER_LOAD_FORMAT_D16_X VDATA, VADDR(1:2), SRSRC(4), SOFFSET<br />
     1162Description: Load the first component of the element from SRSRC including format from
     1163buffer resource. Store result as 16-bit value (half FP or 16-bit integer).<br />
     1164Operation:<br />
     1165<code>VDATA = LOAD_FORMAT_D16_X(SRSRC, VADDR(1:2), SOFFSET, OFFSET)</code></p>
     1166<h4>BUFFER_LOAD_FORMAT_D16_XY</h4>
     1167<p>Opcode: 9 (0x9)<br />
     1168Syntax: BUFFER_LOAD_FORMAT_D16_XY VDATA(2), VADDR(1:2), SRSRC(4), SOFFSET<br />
     1169Description: Load the first two components of the element from SRSRC resource
     1170including format from SRSRC. Store result as 16-bit value (half FP or 16-bit integer).<br />
     1171Operation:<br />
     1172<code>VDATA[0] = LOAD_FORMAT_D16_XY(SRSRC, VADDR(1:2), SOFFSET, OFFSET)</code></p>
     1173<h4>BUFFER_LOAD_FORMAT_D16_XYZ</h4>
     1174<p>Opcode: 10 (0xa)<br />
     1175Syntax: BUFFER_LOAD_FORMAT_D16_XYZ VDATA(3), VADDR(1:2), SRSRC(4), SOFFSET<br />
     1176Description: Load the first three components of the element from SRSRC resource
     1177including format from SRSRC. Store result as 16-bit value (half FP or 16-bit integer).<br />
     1178Operation:<br />
     1179<code>VDATA[0] = LOAD_FORMAT_D16_XYZ(SRSRC, VADDR(1:2), SOFFSET, OFFSET)</code></p>
     1180<h4>BUFFER_LOAD_FORMAT_D16_XYZW</h4>
     1181<p>Opcode: 11 (0xb)<br />
     1182Syntax: BUFFER_LOAD_FORMAT_D16_XYZW VDATA(4), VADDR(1:2), SRSRC(4), SOFFSET<br />
     1183Description: Load the all four components of the element from SRSRC resource
     1184including format from SRSRC. Store result as 16-bit value (half FP or 16-bit integer).<br />
     1185Operation:<br />
     1186<code>VDATA[0] = LOAD_FORMAT_D16_XYZW(SRSRC, VADDR(1:2), SOFFSET, OFFSET)</code></p>
    11591187<h4>BUFFER_LOAD_FORMAT_X</h4>
    11601188<p>Opcode: 0 (0x0)<br />
     
    12481276VM[2] = VDATA[2]
    12491277VM[3] = VDATA[3]</code></p>
     1278<h4>BUFFER_STORE_FORMAT_D16_X</h4>
     1279<p>Opcode: 12 (0xc)<br />
     1280Syntax: BUFFER_STORE_FORMAT_D16_X VDATA, VADDR(1:2), SRSRC(4), SOFFSET<br />
     1281Description: Store the first component of the element into SRSRC resource
     1282including format from SRSRC. Treat input as 16-bit value (half FP or 16-bit integer).<br />
     1283Operation:<br />
     1284<code>STORE_FORMAT_D16_X(SRSRC, VADDR(1:2), SOFFSET, OFFSET, VDATA)</code></p>
     1285<h4>BUFFER_STORE_FORMAT_D16_XY</h4>
     1286<p>Opcode: 13 (0xd)<br />
     1287Syntax: BUFFER_STORE_FORMAT_D16_XY VDATA(2), VADDR(1:2), SRSRC(4), SOFFSET<br />
     1288Description: Store the first two components of the element into SRSRC resource
     1289including format from SRSRC. Treat input as 16-bit value (half FP or 16-bit integer).<br />
     1290Operation:<br />
     1291<code>STORE_FORMAT_D16_XY(SRSRC, VADDR(1:2), SOFFSET, OFFSET, VDATA)</code></p>
     1292<h4>BUFFER_STORE_FORMAT_D16_XYZ</h4>
     1293<p>Opcode: 14 (0xe)<br />
     1294Syntax: BUFFER_STORE_FORMAT_D16_XYZ VDATA(3), VADDR(1:2), SRSRC(4), SOFFSET<br />
     1295Description: Store the first three components of the element into SRSRC resource
     1296including format from SRSRC. Treat input as 16-bit value (half FP or 16-bit integer).<br />
     1297Operation:<br />
     1298<code>STORE_FORMAT_D16_XYZ(SRSRC, VADDR(1:2), SOFFSET, OFFSET, VDATA)</code></p>
     1299<h4>BUFFER_STORE_FORMAT_D16_XYZW</h4>
     1300<p>Opcode: 15 (0xf)<br />
     1301Syntax: BUFFER_STORE_FORMAT_D16_XYZW VDATA(4), VADDR(1:2), SRSRC(4), SOFFSET<br />
     1302Description: Store the all components of the element into SRSRC resource
     1303including format from SRSRC. Treat input as 16-bit value (half FP or 16-bit integer).<br />
     1304Operation:<br />
     1305<code>STORE_FORMAT_D16_XYZW(SRSRC, VADDR(1:2), SOFFSET, OFFSET, VDATA)</code></p>
    12501306<h4>BUFFER_STORE_FORMAT_X</h4>
    12511307<p>Opcode: 4 (0x4)<br />