summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/other-built-in-functions.html
blob: e06f11057414f49a4789bd87c4c7689b36e77a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
<div class="subsubsection-level-extent" id="Other-Built-in-Functions"> <div class="nav-panel"> <p> Previous: <a href="raw-read_002fwrite-functions" accesskey="p" rel="prev">Raw Read/Write Functions</a>, Up: <a href="fr-v-built-in-functions" accesskey="u" rel="up">FR-V Built-in Functions</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div>  <h1 class="subsubsection" id="Other-Built-in-Functions-1"><span>6.60.13.5 Other Built-in Functions<a class="copiable-link" href="#Other-Built-in-Functions-1"> ¶</a></span></h1> <p>This section describes built-in functions that are not named after a specific FR-V instruction. </p> <dl class="table"> <dt><code class="code">sw2 __IACCreadll (iacc <var class="var">reg</var>)</code></dt> <dd>
<p>Return the full 64-bit value of IACC0. The <var class="var">reg</var> argument is reserved for future expansion and must be 0. </p> </dd> <dt><code class="code">sw1 __IACCreadl (iacc <var class="var">reg</var>)</code></dt> <dd>
<p>Return the value of IACC0H if <var class="var">reg</var> is 0 and IACC0L if <var class="var">reg</var> is 1. Other values of <var class="var">reg</var> are rejected as invalid. </p> </dd> <dt><code class="code">void __IACCsetll (iacc <var class="var">reg</var>, sw2 <var class="var">x</var>)</code></dt> <dd>
<p>Set the full 64-bit value of IACC0 to <var class="var">x</var>. The <var class="var">reg</var> argument is reserved for future expansion and must be 0. </p> </dd> <dt><code class="code">void __IACCsetl (iacc <var class="var">reg</var>, sw1 <var class="var">x</var>)</code></dt> <dd>
<p>Set IACC0H to <var class="var">x</var> if <var class="var">reg</var> is 0 and IACC0L to <var class="var">x</var> if <var class="var">reg</var> is 1. Other values of <var class="var">reg</var> are rejected as invalid. </p> </dd> <dt><code class="code">void __data_prefetch0 (const void *<var class="var">x</var>)</code></dt> <dd>
<p>Use the <code class="code">dcpl</code> instruction to load the contents of address <var class="var">x</var> into the data cache. </p> </dd> <dt><code class="code">void __data_prefetch (const void *<var class="var">x</var>)</code></dt> <dd><p>Use the <code class="code">nldub</code> instruction to load the contents of address <var class="var">x</var> into the data cache. The instruction is issued in slot I1. </p></dd> </dl> </div><div class="_attribution">
  <p class="_attribution-p">
    &copy; Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br>
    <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Other-Built-in-Functions.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Other-Built-in-Functions.html</a>
  </p>
</div>