diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gcc~13/mmix-options.html | |
new repository
Diffstat (limited to 'devdocs/gcc~13/mmix-options.html')
| -rw-r--r-- | devdocs/gcc~13/mmix-options.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/devdocs/gcc~13/mmix-options.html b/devdocs/gcc~13/mmix-options.html new file mode 100644 index 00000000..31b3e606 --- /dev/null +++ b/devdocs/gcc~13/mmix-options.html @@ -0,0 +1,35 @@ +<div class="subsection-level-extent" id="MMIX-Options"> <div class="nav-panel"> <p> Next: <a href="mn10300-options" accesskey="n" rel="next">MN10300 Options</a>, Previous: <a href="mips-options" accesskey="p" rel="prev">MIPS Options</a>, Up: <a href="submodel-options" accesskey="u" rel="up">Machine-Dependent Options</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="subsection" id="MMIX-Options-1"><span>3.19.29 MMIX Options<a class="copiable-link" href="#MMIX-Options-1"> ¶</a></span></h1> <p>These options are defined for the MMIX: </p> <dl class="table"> <dt> + <span><code class="code">-mlibfuncs</code><a class="copiable-link" href="#index-mlibfuncs"> ¶</a></span> +</dt> <dt><code class="code">-mno-libfuncs</code></dt> <dd> +<p>Specify that intrinsic library functions are being compiled, passing all values in registers, no matter the size. </p> </dd> <dt> + <span><code class="code">-mepsilon</code><a class="copiable-link" href="#index-mepsilon"> ¶</a></span> +</dt> <dt><code class="code">-mno-epsilon</code></dt> <dd> +<p>Generate floating-point comparison instructions that compare with respect to the <code class="code">rE</code> epsilon register. </p> </dd> <dt> + <span><code class="code">-mabi=mmixware</code><a class="copiable-link" href="#index-mabi_003dmmixware"> ¶</a></span> +</dt> <dt><code class="code">-mabi=gnu</code></dt> <dd> +<p>Generate code that passes function parameters and return values that (in the called function) are seen as registers <code class="code">$0</code> and up, as opposed to the GNU ABI which uses global registers <code class="code">$231</code> and up. </p> </dd> <dt> + <span><code class="code">-mzero-extend</code><a class="copiable-link" href="#index-mzero-extend"> ¶</a></span> +</dt> <dt><code class="code">-mno-zero-extend</code></dt> <dd> +<p>When reading data from memory in sizes shorter than 64 bits, use (do not use) zero-extending load instructions by default, rather than sign-extending ones. </p> </dd> <dt> + <span><code class="code">-mknuthdiv</code><a class="copiable-link" href="#index-mknuthdiv"> ¶</a></span> +</dt> <dt><code class="code">-mno-knuthdiv</code></dt> <dd> +<p>Make the result of a division yielding a remainder have the same sign as the divisor. With the default, <samp class="option">-mno-knuthdiv</samp>, the sign of the remainder follows the sign of the dividend. Both methods are arithmetically valid, the latter being almost exclusively used. </p> </dd> <dt> + <span><code class="code">-mtoplevel-symbols</code><a class="copiable-link" href="#index-mtoplevel-symbols"> ¶</a></span> +</dt> <dt><code class="code">-mno-toplevel-symbols</code></dt> <dd> +<p>Prepend (do not prepend) a ‘<samp class="samp">:</samp>’ to all global symbols, so the assembly code can be used with the <code class="code">PREFIX</code> assembly directive. </p> </dd> <dt> +<span><code class="code">-melf</code><a class="copiable-link" href="#index-melf-1"> ¶</a></span> +</dt> <dd> +<p>Generate an executable in the ELF format, rather than the default ‘<samp class="samp">mmo</samp>’ format used by the <code class="command">mmix</code> simulator. </p> </dd> <dt> + <span><code class="code">-mbranch-predict</code><a class="copiable-link" href="#index-mbranch-predict"> ¶</a></span> +</dt> <dt><code class="code">-mno-branch-predict</code></dt> <dd> +<p>Use (do not use) the probable-branch instructions, when static branch prediction indicates a probable branch. </p> </dd> <dt> + <span><code class="code">-mbase-addresses</code><a class="copiable-link" href="#index-mbase-addresses"> ¶</a></span> +</dt> <dt><code class="code">-mno-base-addresses</code></dt> <dd> +<p>Generate (do not generate) code that uses <em class="emph">base addresses</em>. Using a base address automatically generates a request (handled by the assembler and the linker) for a constant to be set up in a global register. The register is used for one or more base address requests within the range 0 to 255 from the value held in the register. The generally leads to short and fast code, but the number of different data items that can be addressed is limited. This means that a program that uses lots of static data may require <samp class="option">-mno-base-addresses</samp>. </p> </dd> <dt> + <span><code class="code">-msingle-exit</code><a class="copiable-link" href="#index-msingle-exit"> ¶</a></span> +</dt> <dt><code class="code">-mno-single-exit</code></dt> <dd><p>Force (do not force) generated code to have a single exit point in each function. </p></dd> </dl> </div> <div class="nav-panel"> <p> Next: <a href="mn10300-options">MN10300 Options</a>, Previous: <a href="mips-options">MIPS Options</a>, Up: <a href="submodel-options">Machine-Dependent Options</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><div class="_attribution"> + <p class="_attribution-p"> + © 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/MMIX-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/MMIX-Options.html</a> + </p> +</div> |
