https://forge.ispras.ru/
https://forge.ispras.ru/favicon.ico?1649012669
2019-11-28T13:52:15Z
Open-Source Projects
MicroTESK - Feature #9950: Support for different directives in text sections of test templates
https://forge.ispras.ru/issues/9950?journal_id=37279
2019-11-28T13:52:15Z
Alexander Kamkin
askamkin@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Open</i></li><li><strong>Target version</strong> set to <i>2.4</i></li></ul>
MicroTESK - Feature #9950: Support for different directives in text sections of test templates
https://forge.ispras.ru/issues/9950?journal_id=37280
2019-11-28T14:24:12Z
Mikhail Chupilko
chupilko@ispras.ru
<ul></ul><p>Data Directives in RISC-V (as presented in <a class="external" href="https://rv8.io/asm.html">https://rv8.io/asm.html</a>)</p>
<table>
<tr>
<th>Directive </th>
<th>Arguments </th>
<th>Description</th>
</tr>
<tr>
<td>2byte </td>
<td></td>
<td>16-bit comma separated words (unaligned)</td>
</tr>
<tr>
<td>4byte </td>
<td></td>
<td>32-bit comma separated words (unaligned)</td>
</tr>
<tr>
<td>8byte </td>
<td></td>
<td>64-bit comma separated words (unaligned)</td>
</tr>
<tr>
<td>half </td>
<td></td>
<td>16-bit comma separated words (naturally aligned)</td>
</tr>
<tr>
<td>word </td>
<td></td>
<td>32-bit comma separated words (naturally aligned)</td>
</tr>
<tr>
<td>dword </td>
<td></td>
<td>64-bit comma separated words (naturally aligned)</td>
</tr>
<tr>
<td>byte </td>
<td></td>
<td>8-bit comma separated words</td>
</tr>
<tr>
<td>dtpreldword </td>
<td></td>
<td>64-bit thread local word</td>
</tr>
<tr>
<td>dtprelword </td>
<td></td>
<td>32-bit thread local word</td>
</tr>
<tr>
<td>sleb128 </td>
<td>expression </td>
<td>signed little endian base 128, DWARF</td>
</tr>
<tr>
<td>uleb128 </td>
<td>expression </td>
<td>unsigned little endian base 128, DWARF</td>
</tr>
<tr>
<td>asciz </td>
<td>“string” </td>
<td>emit string (alias for .string)</td>
</tr>
<tr>
<td>string </td>
<td>“string” </td>
<td>emit string</td>
</tr>
<tr>
<td>incbin </td>
<td>“filename” </td>
<td>emit the included file as a binary sequence of octets</td>
</tr>
<tr>
<td>zero </td>
<td>integer </td>
<td>zero bytes</td>
</tr>
</table>
<p>Alignment Directives</p>
<table>
<tr>
<th>Directive </th>
<th>Arguments </th>
<th>Description</th>
</tr>
<tr>
<td>align </td>
<td>integer </td>
<td>align to power of 2 (alias for .p2align)</td>
</tr>
<tr>
<td>balign </td>
<td>b,[pad_val=0] </td>
<td>byte align</td>
</tr>
<tr>
<td>p2align </td>
<td>p2,[pad_val=0],max </td>
<td>align to power of 2</td>
</tr>
</table>
<p>Other Directives</p>
<table>
<tr>
<th>Directive </th>
<th>Arguments </th>
<th>Description</th>
</tr>
<tr>
<td>option </td>
<td>{rvc,norvc,pic,nopic,push,pop} </td>
<td>RISC-V options</td>
</tr>
</table>
MicroTESK - Feature #9950: Support for different directives in text sections of test templates
https://forge.ispras.ru/issues/9950?journal_id=37384
2019-12-06T11:42:02Z
Alexander Kamkin
askamkin@gmail.com
<ul><li><strong>Category</strong> set to <i>Template Processor</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Resolved</i></li></ul><a name="Implemented-directives"></a>
<h1 >Implemented directives<a href="#Implemented-directives" class="wiki-anchor">¶</a></h1>
<a name="As-independent-functions"></a>
<h2 >As independent functions<a href="#As-independent-functions" class="wiki-anchor">¶</a></h2>
<ol>
<li><code>.align x[, pad_val]</code></li>
<li><code>.balign x[, pad_val]</code></li>
<li><code>.p2align x[, pad_val]</code></li>
<li><code>.org x</code></li>
<li><code>.option x</code></li>
</ol>
<a name="Via-data_config-in-subprojects"></a>
<h2 >Via <code>data_config</code> in subprojects<a href="#Via-data_config-in-subprojects" class="wiki-anchor">¶</a></h2>
<ol>
<li><code>.2byte</code></li>
<li><code>.4byte</code></li>
<li><code>.8byte</code></li>
<li><code>.asciz</code></li>
<li><code>.string</code></li>
<li><code>.zero</code></li>
</ol>
MicroTESK - Feature #9950: Support for different directives in text sections of test templates
https://forge.ispras.ru/issues/9950?journal_id=37589
2019-12-26T16:50:14Z
Alexander Kamkin
askamkin@gmail.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>Target version</strong> changed from <i>2.4</i> to <i>2.5</i></li><li><strong>Published in build</strong> set to <i>2.5.0-beta-191226</i></li></ul>