diff options
Diffstat (limited to 'devdocs/gcc~13/m32c-options.html')
| -rw-r--r-- | devdocs/gcc~13/m32c-options.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devdocs/gcc~13/m32c-options.html b/devdocs/gcc~13/m32c-options.html new file mode 100644 index 00000000..b803110b --- /dev/null +++ b/devdocs/gcc~13/m32c-options.html @@ -0,0 +1,15 @@ +<div class="subsection-level-extent" id="M32C-Options"> <div class="nav-panel"> <p> Next: <a href="m32r_002fd-options" accesskey="n" rel="next">M32R/D Options</a>, Previous: <a href="loongarch-options" accesskey="p" rel="prev">LoongArch 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="M32C-Options-1"><span>3.19.23 M32C Options<a class="copiable-link" href="#M32C-Options-1"> ¶</a></span></h1> <dl class="table"> <dt> +<span><code class="code">-mcpu=<var class="var">name</var></code><a class="copiable-link" href="#index-mcpu_003d-2"> ¶</a></span> +</dt> <dd> +<p>Select the CPU for which code is generated. <var class="var">name</var> may be one of ‘<samp class="samp">r8c</samp>’ for the R8C/Tiny series, ‘<samp class="samp">m16c</samp>’ for the M16C (up to /60) series, ‘<samp class="samp">m32cm</samp>’ for the M16C/80 series, or ‘<samp class="samp">m32c</samp>’ for the M32C/80 series. </p> </dd> <dt> +<span><code class="code">-msim</code><a class="copiable-link" href="#index-msim-4"> ¶</a></span> +</dt> <dd> +<p>Specifies that the program will be run on the simulator. This causes an alternate runtime library to be linked in which supports, for example, file I/O. You must not use this option when generating programs that will run on real hardware; you must provide your own runtime library for whatever I/O functions are needed. </p> </dd> <dt> +<span><code class="code">-memregs=<var class="var">number</var></code><a class="copiable-link" href="#index-memregs_003d"> ¶</a></span> +</dt> <dd> +<p>Specifies the number of memory-based pseudo-registers GCC uses during code generation. These pseudo-registers are used like real registers, so there is a tradeoff between GCC’s ability to fit the code into available registers, and the performance penalty of using memory instead of registers. Note that all modules in a program must be compiled with the same value for this option. Because of that, you must not use this option with GCC’s default runtime libraries. </p> </dd> </dl> </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/M32C-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/M32C-Options.html</a> + </p> +</div> |
