Changes between Version 1 and Version 2 of GcnMemHandling


Ignore:
Timestamp:
01/02/16 10:00:15 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnMemHandling

    v1 v2  
    33#!html
    44<h2>GCN Memory instructions features and functionality</h2>
     5<h3>Buffer resource format</h3>
     6<table>
     7<thead>
     8<tr>
     9<th>Bits</th>
     10<th>Name</th>
     11<th>Description</th>
     12</tr>
     13</thead>
     14<tbody>
     15<tr>
     16<td>0-47</td>
     17<td>BASE</td>
     18<td>Base address</td>
     19</tr>
     20<tr>
     21<td>48-61</td>
     22<td>STRIDE</td>
     23<td>Stride in bytes. Size of records</td>
     24</tr>
     25<tr>
     26<td>62</td>
     27<td>Cache swizzle</td>
     28<td>Buffer access. Optionally, swizzle texture cache TC L1 cache banks</td>
     29</tr>
     30<tr>
     31<td>63</td>
     32<td>Swizzle enable</td>
     33<td>If set, enable swizzle addressing mode</td>
     34</tr>
     35<tr>
     36<td>64-95</td>
     37<td>NUMRECORDS</td>
     38<td>Number of records (size of the buffer)</td>
     39</tr>
     40<tr>
     41<td>96-98</td>
     42<td>DST_SEL_X</td>
     43<td>Select destination component for X</td>
     44</tr>
     45<tr>
     46<td>99-101</td>
     47<td>DST_SEL_Y</td>
     48<td>Select destination component for Y</td>
     49</tr>
     50<tr>
     51<td>102-104</td>
     52<td>DST_SEL_Z</td>
     53<td>Select destination component for Z</td>
     54</tr>
     55<tr>
     56<td>105-107</td>
     57<td>DST_SEL_W</td>
     58<td>Select destination component for W</td>
     59</tr>
     60<tr>
     61<td>108-110</td>
     62<td>NUMFORMAT</td>
     63<td>Number format</td>
     64</tr>
     65<tr>
     66<td>111-114</td>
     67<td>DATAFORMAT</td>
     68<td>Data format</td>
     69</tr>
     70<tr>
     71<td>115-116</td>
     72<td>ELEMSIZE</td>
     73<td>Element size (used only by swizzle mode)</td>
     74</tr>
     75<tr>
     76<td>117-118</td>
     77<td>INDEXSTRIDE</td>
     78<td>Index stride (used only by swizzle mode)</td>
     79</tr>
     80<tr>
     81<td>119</td>
     82<td>TID_ENABLE</td>
     83<td>Add thread id to index</td>
     84</tr>
     85<tr>
     86<td>121</td>
     87<td>Hash enable</td>
     88<td>Enable address hashing</td>
     89</tr>
     90<tr>
     91<td>122</td>
     92<td>HEAP</td>
     93<td>Buffer is heap</td>
     94</tr>
     95<tr>
     96<td>126-127</td>
     97<td>TYPE</td>
     98<td>Resource type. 0 - for buffer</td>
     99</tr>
     100</tbody>
     101</table>
    5102<h3>MUBUF/MTBUF format conversion</h3>
    6103<p>The instruction or the buffer resource can supply data format in which stored
     
    101198<p>The buffer data format name can be preceded by 'BUF_DATA_FORMAT_' as 'BUF_DATA_FORMAT_8_8'.
    102199A data format name is case-insensitive.</p>
     200<p>The data format 10_11_11 and 11_11_10 seemingly doesn't work correctly on the GCN 1.0 (???)</p>
    103201<p>Below is table with available number formats. The 'BufR' column indicates whether
    104202a number format is applicable to read operation, the 'BufW' column indicates whether