Changes between Version 4 and Version 5 of GcnOperands


Ignore:
Timestamp:
12/23/15 19:00:17 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnOperands

    v4 v5  
    235235<td>SCC</td>
    236236<td>SCC register</td>
     237</tr>
     238<tr>
     239<td>254</td>
     240<td>LDS_DIRECT</td>
     241<td>LDS direct access</td>
     242</tr>
     243<tr>
     244<td>254</td>
     245<td>LDS</td>
     246<td>LDS direct access</td>
     247</tr>
     248<tr>
     249<td>254</td>
     250<td>SRC_LDS_DIRECT</td>
     251<td>LDS direct access</td>
    237252</tr>
    238253<tr>
     
    279294<li>TRAPSTS, HWREG_TRAPSTS -</li>
    280295</ul>
     296<h3>LDS direct access</h3>
     297<p>The LDS direct access allow to access LDS memory from VOP instruction directly by supplying
     298LDS, LDS_DIRECT or SRC_LDS_DIRECT keyword on the first source operand. Then data from
     299LDS will be used on place that operand.</p>
     300<p>The M0 must hold the offset in bytes (in 0-15 bits) and format of the data (in bits 16-18).
     301Table of formats:</p>
     302<table>
     303<thead>
     304<tr>
     305<th>Value</th>
     306<th>Format</th>
     307</tr>
     308</thead>
     309<tbody>
     310<tr>
     311<td>0</td>
     312<td>Unsigned byte</td>
     313</tr>
     314<tr>
     315<td>1</td>
     316<td>Unsigned 16-bit word</td>
     317</tr>
     318<tr>
     319<td>2</td>
     320<td>Unsigned 32-bit word</td>
     321</tr>
     322<tr>
     323<td>3</td>
     324<td>unused (same as 2)</td>
     325</tr>
     326<tr>
     327<td>4</td>
     328<td>Signed byte</td>
     329</tr>
     330<tr>
     331<td>5</td>
     332<td>Signed 16-bit word</td>
     333</tr>
     334</tbody>
     335</table>
    281336}}}