Changes between Version 6 and Version 7 of GcnInstrsMtbuf


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsMtbuf

    v6 v7  
    316316<h3>Instruction set</h3>
    317317<p>Alphabetically sorted instruction list:</p>
     318<h4>TBUFFER_LOAD_FORMAT_D16_X</h4>
     319<p>Opcode: 8 (0x8) for GCN 1.2<br />
     320Syntax: TBUFFER_LOAD_FORMAT_D16_X VDATA, VADDR(1:2), SRSRC(4), SOFFSET<br />
     321Description: Load the first component of the element from SRSRC including format from
     322instruction fields. Store result as 16-bit value (half FP or 16-bit integer).<br />
     323Operation:<br />
     324<code>VDATA = LOAD_FORMAT_D16_X(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT)</code></p>
     325<h4>TBUFFER_LOAD_FORMAT_D16_XY</h4>
     326<p>Opcode: 9 (0x9) for GCN 1.2<br />
     327Syntax: TBUFFER_LOAD_FORMAT_D16_XY VDATA(2), VADDR(1:2), SRSRC(4), SOFFSET<br />
     328Description: Load the two first components of the element from SRSRC including format from
     329instruction fields. Store results as 16-bit value (half FP or 16-bit integer).<br />
     330Operation:<br />
     331<code>VDATA = LOAD_FORMAT_D16_XY(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT)</code></p>
     332<h4>TBUFFER_LOAD_FORMAT_D16_XYZ</h4>
     333<p>Opcode: 10 (0xa) for GCN 1.2<br />
     334Syntax: TBUFFER_LOAD_FORMAT_XYZ VDATA(3), VADDR(1:2), SRSRC(4), SOFFSET<br />
     335Description: Load the three first components of the element from SRSRC including format
     336from instruction fields. Store results as 16-bit value (half FP or 16-bit integer).<br />
     337Operation:<br />
     338<code>VDATA = LOAD_FORMAT_D16_XYZ(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT)</code></p>
     339<h4>TBUFFER_LOAD_FORMAT_D16_XYZW</h4>
     340<p>Opcode: 11 (0xb) for GCN 1.2<br />
     341Syntax: TBUFFER_LOAD_FORMAT_D16_XYZW VDATA(4), VADDR(1:2), SRSRC(4), SOFFSET<br />
     342Description: Load four components of the element from SRSRC including format
     343from instruction fields. Store results as 16-bit value (half FP or 16-bit integer).<br />
     344Operation:<br />
     345<code>VDATA = LOAD_FORMAT_D16_XYZW(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT)</code></p>
    318346<h4>TBUFFER_LOAD_FORMAT_X</h4>
    319347<p>Opcode: 0 (0x0)<br />
     
    344372Operation:<br />
    345373<code>VDATA = LOAD_FORMAT_XYZW(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT)</code></p>
     374<h4>TBUFFER_STORE_FORMAT_D16_X</h4>
     375<p>Opcode: 12 (0xc) for GCN 1.2<br />
     376Syntax: TBUFFER_STORE_FORMAT_D16_X VDATA, VADDR(1:2), SRSRC(4), SOFFSET<br />
     377Description: Store the first component of the element into SRSRC resource
     378including format from instruction fields.
     379Treat input as 16-bit value (half FP or 16-bit integer).<br />
     380Operation:<br />
     381<code>STORE_FORMAT_D16_X(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT, VDATA)</code></p>
     382<h4>TBUFFER_STORE_FORMAT_D16_XY</h4>
     383<p>Opcode: 13 (0xd) for GCN 1.2<br />
     384Syntax: TBUFFER_STORE_FORMAT_D16_XY VDATA(2), VADDR(1:2), SRSRC(4), SOFFSET<br />
     385Description: Store the first two components of the element into SRSRC resource
     386including format from instruction fields.
     387Treat input as 16-bit value (half FP or 16-bit integer).<br />
     388Operation:<br />
     389<code>STORE_FORMAT_D16_XY(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT, VDATA)</code></p>
     390<h4>TBUFFER_STORE_FORMAT_D16_XYZ</h4>
     391<p>Opcode: 14 (0xe) for GCN 1.2<br />
     392Syntax: TBUFFER_STORE_FORMAT_D16_XYZ VDATA(3), VADDR(1:2), SRSRC(4), SOFFSET<br />
     393Description: Store the first three components of the element into SRSRC resource
     394including format from instruction fields.
     395Treat input as 16-bit value (half FP or 16-bit integer).<br />
     396Operation:<br />
     397<code>STORE_FORMAT_D16_XYZ(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT, VDATA)</code></p>
     398<h4>TBUFFER_STORE_FORMAT_D16_XYZW</h4>
     399<p>Opcode: 15 (0xf) for GCN 1.2<br />
     400Syntax: TBUFFER_STORE_FORMAT_D16_XYZW VDATA(4), VADDR(1:2), SRSRC(4), SOFFSET<br />
     401Description: Store the all components of the element into SRSRC resource
     402including format from instruction fields.
     403Treat input as 16-bit value (half FP or 16-bit integer).<br />
     404Operation:<br />
     405<code>STORE_FORMAT_D16_XYZW(SRSRC, VADDR(1:2), SOFFSET, OFFSET, DFMT, NFMT, VDATA)</code></p>
    346406<h4>TBUFFER_STORE_FORMAT_X</h4>
    347407<p>Opcode: 4 (0x4)<br />