summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/frv-options.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/gcc~13/frv-options.html')
-rw-r--r--devdocs/gcc~13/frv-options.html100
1 files changed, 100 insertions, 0 deletions
diff --git a/devdocs/gcc~13/frv-options.html b/devdocs/gcc~13/frv-options.html
new file mode 100644
index 00000000..96c1d5bd
--- /dev/null
+++ b/devdocs/gcc~13/frv-options.html
@@ -0,0 +1,100 @@
+<div class="subsection-level-extent" id="FRV-Options"> <div class="nav-panel"> <p> Next: <a href="gnu_002flinux-options" accesskey="n" rel="next">GNU/Linux Options</a>, Previous: <a href="ft32-options" accesskey="p" rel="prev">FT32 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="FRV-Options-1"><span>3.19.16 FRV Options<a class="copiable-link" href="#FRV-Options-1"> ¶</a></span></h1> <dl class="table"> <dt>
+<span><code class="code">-mgpr-32</code><a class="copiable-link" href="#index-mgpr-32"> ¶</a></span>
+</dt> <dd> <p>Only use the first 32 general-purpose registers. </p> </dd> <dt>
+<span><code class="code">-mgpr-64</code><a class="copiable-link" href="#index-mgpr-64"> ¶</a></span>
+</dt> <dd> <p>Use all 64 general-purpose registers. </p> </dd> <dt>
+<span><code class="code">-mfpr-32</code><a class="copiable-link" href="#index-mfpr-32"> ¶</a></span>
+</dt> <dd> <p>Use only the first 32 floating-point registers. </p> </dd> <dt>
+<span><code class="code">-mfpr-64</code><a class="copiable-link" href="#index-mfpr-64"> ¶</a></span>
+</dt> <dd> <p>Use all 64 floating-point registers. </p> </dd> <dt>
+<span><code class="code">-mhard-float</code><a class="copiable-link" href="#index-mhard-float-1"> ¶</a></span>
+</dt> <dd> <p>Use hardware instructions for floating-point operations. </p> </dd> <dt>
+<span><code class="code">-msoft-float</code><a class="copiable-link" href="#index-msoft-float-3"> ¶</a></span>
+</dt> <dd> <p>Use library routines for floating-point operations. </p> </dd> <dt>
+<span><code class="code">-malloc-cc</code><a class="copiable-link" href="#index-malloc-cc"> ¶</a></span>
+</dt> <dd> <p>Dynamically allocate condition code registers. </p> </dd> <dt>
+<span><code class="code">-mfixed-cc</code><a class="copiable-link" href="#index-mfixed-cc"> ¶</a></span>
+</dt> <dd> <p>Do not try to dynamically allocate condition code registers, only use <code class="code">icc0</code> and <code class="code">fcc0</code>. </p> </dd> <dt>
+<span><code class="code">-mdword</code><a class="copiable-link" href="#index-mdword"> ¶</a></span>
+</dt> <dd> <p>Change ABI to use double word insns. </p> </dd> <dt>
+ <span><code class="code">-mno-dword</code><a class="copiable-link" href="#index-mno-dword"> ¶</a></span>
+</dt> <dd> <p>Do not use double word instructions. </p> </dd> <dt>
+<span><code class="code">-mdouble</code><a class="copiable-link" href="#index-mdouble-1"> ¶</a></span>
+</dt> <dd> <p>Use floating-point double instructions. </p> </dd> <dt>
+<span><code class="code">-mno-double</code><a class="copiable-link" href="#index-mno-double"> ¶</a></span>
+</dt> <dd> <p>Do not use floating-point double instructions. </p> </dd> <dt>
+<span><code class="code">-mmedia</code><a class="copiable-link" href="#index-mmedia"> ¶</a></span>
+</dt> <dd> <p>Use media instructions. </p> </dd> <dt>
+<span><code class="code">-mno-media</code><a class="copiable-link" href="#index-mno-media"> ¶</a></span>
+</dt> <dd> <p>Do not use media instructions. </p> </dd> <dt>
+<span><code class="code">-mmuladd</code><a class="copiable-link" href="#index-mmuladd"> ¶</a></span>
+</dt> <dd> <p>Use multiply and add/subtract instructions. </p> </dd> <dt>
+<span><code class="code">-mno-muladd</code><a class="copiable-link" href="#index-mno-muladd"> ¶</a></span>
+</dt> <dd> <p>Do not use multiply and add/subtract instructions. </p> </dd> <dt>
+<span><code class="code">-mfdpic</code><a class="copiable-link" href="#index-mfdpic-1"> ¶</a></span>
+</dt> <dd> <p>Select the FDPIC ABI, which uses function descriptors to represent pointers to functions. Without any PIC/PIE-related options, it implies <samp class="option">-fPIE</samp>. With <samp class="option">-fpic</samp> or <samp class="option">-fpie</samp>, it assumes GOT entries and small data are within a 12-bit range from the GOT base address; with <samp class="option">-fPIC</samp> or <samp class="option">-fPIE</samp>, GOT offsets are computed with 32 bits. With a ‘<samp class="samp">bfin-elf</samp>’ target, this option implies <samp class="option">-msim</samp>. </p> </dd> <dt>
+<span><code class="code">-minline-plt</code><a class="copiable-link" href="#index-minline-plt-1"> ¶</a></span>
+</dt> <dd> <p>Enable inlining of PLT entries in function calls to functions that are not known to bind locally. It has no effect without <samp class="option">-mfdpic</samp>. It’s enabled by default if optimizing for speed and compiling for shared libraries (i.e., <samp class="option">-fPIC</samp> or <samp class="option">-fpic</samp>), or when an optimization option such as <samp class="option">-O3</samp> or above is present in the command line. </p> </dd> <dt>
+<span><code class="code">-mTLS</code><a class="copiable-link" href="#index-mTLS"> ¶</a></span>
+</dt> <dd> <p>Assume a large TLS segment when generating thread-local code. </p> </dd> <dt>
+<span><code class="code">-mtls</code><a class="copiable-link" href="#index-mtls"> ¶</a></span>
+</dt> <dd> <p>Do not assume a large TLS segment when generating thread-local code. </p> </dd> <dt>
+<span><code class="code">-mgprel-ro</code><a class="copiable-link" href="#index-mgprel-ro"> ¶</a></span>
+</dt> <dd> <p>Enable the use of <code class="code">GPREL</code> relocations in the FDPIC ABI for data that is known to be in read-only sections. It’s enabled by default, except for <samp class="option">-fpic</samp> or <samp class="option">-fpie</samp>: even though it may help make the global offset table smaller, it trades 1 instruction for 4. With <samp class="option">-fPIC</samp> or <samp class="option">-fPIE</samp>, it trades 3 instructions for 4, one of which may be shared by multiple symbols, and it avoids the need for a GOT entry for the referenced symbol, so it’s more likely to be a win. If it is not, <samp class="option">-mno-gprel-ro</samp> can be used to disable it. </p> </dd> <dt>
+<span><code class="code">-multilib-library-pic</code><a class="copiable-link" href="#index-multilib-library-pic"> ¶</a></span>
+</dt> <dd> <p>Link with the (library, not FD) pic libraries. It’s implied by <samp class="option">-mlibrary-pic</samp>, as well as by <samp class="option">-fPIC</samp> and <samp class="option">-fpic</samp> without <samp class="option">-mfdpic</samp>. You should never have to use it explicitly. </p> </dd> <dt>
+<span><code class="code">-mlinked-fp</code><a class="copiable-link" href="#index-mlinked-fp"> ¶</a></span>
+</dt> <dd> <p>Follow the EABI requirement of always creating a frame pointer whenever a stack frame is allocated. This option is enabled by default and can be disabled with <samp class="option">-mno-linked-fp</samp>. </p> </dd> <dt>
+<span><code class="code">-mlong-calls</code><a class="copiable-link" href="#index-mlong-calls-4"> ¶</a></span>
+</dt> <dd> <p>Use indirect addressing to call functions outside the current compilation unit. This allows the functions to be placed anywhere within the 32-bit address space. </p> </dd> <dt>
+<span><code class="code">-malign-labels</code><a class="copiable-link" href="#index-malign-labels"> ¶</a></span>
+</dt> <dd> <p>Try to align labels to an 8-byte boundary by inserting NOPs into the previous packet. This option only has an effect when VLIW packing is enabled. It doesn’t create new packets; it merely adds NOPs to existing ones. </p> </dd> <dt>
+<span><code class="code">-mlibrary-pic</code><a class="copiable-link" href="#index-mlibrary-pic"> ¶</a></span>
+</dt> <dd> <p>Generate position-independent EABI code. </p> </dd> <dt>
+<span><code class="code">-macc-4</code><a class="copiable-link" href="#index-macc-4"> ¶</a></span>
+</dt> <dd> <p>Use only the first four media accumulator registers. </p> </dd> <dt>
+<span><code class="code">-macc-8</code><a class="copiable-link" href="#index-macc-8"> ¶</a></span>
+</dt> <dd> <p>Use all eight media accumulator registers. </p> </dd> <dt>
+<span><code class="code">-mpack</code><a class="copiable-link" href="#index-mpack"> ¶</a></span>
+</dt> <dd> <p>Pack VLIW instructions. </p> </dd> <dt>
+<span><code class="code">-mno-pack</code><a class="copiable-link" href="#index-mno-pack"> ¶</a></span>
+</dt> <dd> <p>Do not pack VLIW instructions. </p> </dd> <dt>
+<span><code class="code">-mno-eflags</code><a class="copiable-link" href="#index-mno-eflags"> ¶</a></span>
+</dt> <dd> <p>Do not mark ABI switches in e_flags. </p> </dd> <dt>
+<span><code class="code">-mcond-move</code><a class="copiable-link" href="#index-mcond-move"> ¶</a></span>
+</dt> <dd> <p>Enable the use of conditional-move instructions (default). </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mno-cond-move</code><a class="copiable-link" href="#index-mno-cond-move"> ¶</a></span>
+</dt> <dd> <p>Disable the use of conditional-move instructions. </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mscc</code><a class="copiable-link" href="#index-mscc"> ¶</a></span>
+</dt> <dd> <p>Enable the use of conditional set instructions (default). </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mno-scc</code><a class="copiable-link" href="#index-mno-scc"> ¶</a></span>
+</dt> <dd> <p>Disable the use of conditional set instructions. </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mcond-exec</code><a class="copiable-link" href="#index-mcond-exec"> ¶</a></span>
+</dt> <dd> <p>Enable the use of conditional execution (default). </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mno-cond-exec</code><a class="copiable-link" href="#index-mno-cond-exec-1"> ¶</a></span>
+</dt> <dd> <p>Disable the use of conditional execution. </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mvliw-branch</code><a class="copiable-link" href="#index-mvliw-branch"> ¶</a></span>
+</dt> <dd> <p>Run a pass to pack branches into VLIW instructions (default). </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mno-vliw-branch</code><a class="copiable-link" href="#index-mno-vliw-branch"> ¶</a></span>
+</dt> <dd> <p>Do not run a pass to pack branches into VLIW instructions. </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mmulti-cond-exec</code><a class="copiable-link" href="#index-mmulti-cond-exec"> ¶</a></span>
+</dt> <dd> <p>Enable optimization of <code class="code">&amp;&amp;</code> and <code class="code">||</code> in conditional execution (default). </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mno-multi-cond-exec</code><a class="copiable-link" href="#index-mno-multi-cond-exec"> ¶</a></span>
+</dt> <dd> <p>Disable optimization of <code class="code">&amp;&amp;</code> and <code class="code">||</code> in conditional execution. </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mnested-cond-exec</code><a class="copiable-link" href="#index-mnested-cond-exec"> ¶</a></span>
+</dt> <dd> <p>Enable nested conditional execution optimizations (default). </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-mno-nested-cond-exec</code><a class="copiable-link" href="#index-mno-nested-cond-exec"> ¶</a></span>
+</dt> <dd> <p>Disable nested conditional execution optimizations. </p> <p>This switch is mainly for debugging the compiler and will likely be removed in a future version. </p> </dd> <dt>
+<span><code class="code">-moptimize-membar</code><a class="copiable-link" href="#index-moptimize-membar"> ¶</a></span>
+</dt> <dd> <p>This switch removes redundant <code class="code">membar</code> instructions from the compiler-generated code. It is enabled by default. </p> </dd> <dt>
+ <span><code class="code">-mno-optimize-membar</code><a class="copiable-link" href="#index-mno-optimize-membar"> ¶</a></span>
+</dt> <dd> <p>This switch disables the automatic removal of redundant <code class="code">membar</code> instructions from the generated code. </p> </dd> <dt>
+<span><code class="code">-mtomcat-stats</code><a class="copiable-link" href="#index-mtomcat-stats"> ¶</a></span>
+</dt> <dd> <p>Cause gas to print out tomcat statistics. </p> </dd> <dt>
+<span><code class="code">-mcpu=<var class="var">cpu</var></code><a class="copiable-link" href="#index-mcpu-6"> ¶</a></span>
+</dt> <dd> <p>Select the processor type for which to generate code. Possible values are ‘<samp class="samp">frv</samp>’, ‘<samp class="samp">fr550</samp>’, ‘<samp class="samp">tomcat</samp>’, ‘<samp class="samp">fr500</samp>’, ‘<samp class="samp">fr450</samp>’, ‘<samp class="samp">fr405</samp>’, ‘<samp class="samp">fr400</samp>’, ‘<samp class="samp">fr300</samp>’ and ‘<samp class="samp">simple</samp>’. </p> </dd> </dl> </div> <div class="nav-panel"> <p> Next: <a href="gnu_002flinux-options">GNU/Linux Options</a>, Previous: <a href="ft32-options">FT32 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">
+ &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/FRV-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/FRV-Options.html</a>
+ </p>
+</div>