📄 v850-options.html
字号:
<html lang="en"><head><title>Using the GNU Compiler Collection (GCC)</title><meta http-equiv="Content-Type" content="text/html"><meta name="description" content="Using the GNU Compiler Collection (GCC)"><meta name="generator" content="makeinfo 4.6"><!--Copyright © 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. <p>Permission is granted to copy, distribute and/or modify this documentunder the terms of the GNU Free Documentation License, Version 1.2 orany later version published by the Free Software Foundation; with theInvariant Sections being "GNU General Public License" and "FundingFree Software", the Front-Cover texts being (a) (see below), and withthe Back-Cover Texts being (b) (see below). A copy of the license isincluded in the section entitled "GNU Free Documentation License". <p>(a) The FSF's Front-Cover Text is: <p>A GNU Manual <p>(b) The FSF's Back-Cover Text is: <p>You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development.--><meta http-equiv="Content-Style-Type" content="text/css"><style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller }--></style></head><body><div class="node"><p>Node: <a name="V850%20Options">V850 Options</a>,Next: <a rel="next" accesskey="n" href="ARC-Options.html#ARC%20Options">ARC Options</a>,Previous: <a rel="previous" accesskey="p" href="TMS320C3x-C4x-Options.html#TMS320C3x%2fC4x%20Options">TMS320C3x/C4x Options</a>,Up: <a rel="up" accesskey="u" href="Submodel-Options.html#Submodel%20Options">Submodel Options</a><hr><br></div><h3 class="subsection">V850 Options</h4><p>These <code>-m</code> options are defined for V850 implementations: <dl><dt><code>-mlong-calls</code> <dd><dt><code>-mno-long-calls</code> <dd>Treat all calls as being far away (near). If calls are assumed to befar away, the compiler will always load the functions address up into aregister, and call indirect through the pointer. <br><dt><code>-mno-ep</code> <dd><dt><code>-mep</code> <dd>Do not optimize (do optimize) basic blocks that use the same indexpointer 4 or more times to copy pointer into the <code>ep</code> register, anduse the shorter <code>sld</code> and <code>sst</code> instructions. The <code>-mep</code>option is on by default if you optimize. <br><dt><code>-mno-prolog-function</code> <dd><dt><code>-mprolog-function</code> <dd>Do not use (do use) external functions to save and restore registersat the prologue and epilogue of a function. The external functionsare slower, but use less code space if more than one function savesthe same number of registers. The <code>-mprolog-function</code> optionis on by default if you optimize. <br><dt><code>-mspace</code> <dd>Try to make the code as small as possible. At present, this just turnson the <code>-mep</code> and <code>-mprolog-function</code> options. <br><dt><code>-mtda=</code><var>n</var><code></code> <dd>Put static or global variables whose size is <var>n</var> bytes or less intothe tiny data area that register <code>ep</code> points to. The tiny dataarea can hold up to 256 bytes in total (128 bytes for byte references). <br><dt><code>-msda=</code><var>n</var><code></code> <dd>Put static or global variables whose size is <var>n</var> bytes or less intothe small data area that register <code>gp</code> points to. The small dataarea can hold up to 64 kilobytes. <br><dt><code>-mzda=</code><var>n</var><code></code> <dd>Put static or global variables whose size is <var>n</var> bytes or less intothe first 32 kilobytes of memory. <br><dt><code>-mv850</code> <dd>Specify that the target processor is the V850. <br><dt><code>-mbig-switch</code> <dd>Generate code suitable for big switch tables. Use this option only ifthe assembler/linker complain about out of range branches within a switchtable. <br><dt><code>-mapp-regs</code> <dd>This option will cause r2 and r5 to be used in the code generated bythe compiler. This setting is the default. <br><dt><code>-mno-app-regs</code> <dd>This option will cause r2 and r5 to be treated as fixed registers. <br><dt><code>-mv850e1</code> <dd>Specify that the target processor is the V850E1. The preprocessorconstants <code>__v850e1__</code> and <code>__v850e__</code> will be defined ifthis option is used. <br><dt><code>-mv850e</code> <dd>Specify that the target processor is the V850E. The preprocessorconstant <code>__v850e__</code> will be defined if this option is used. <p>If neither <code>-mv850</code> nor <code>-mv850e</code> nor <code>-mv850e1</code>are defined then a default target processor will be chosen and therelevant <code>__v850*__</code> preprocessor constant will be defined. <p>The preprocessor constants <code>__v850</code> and <code>__v851__</code> are alwaysdefined, regardless of which processor variant is the target. <br><dt><code>-mdisable-callt</code> <dd>This option will suppress generation of the CALLT instruction for thev850e and v850e1 flavors of the v850 architecture. The default is<code>-mno-disable-callt</code> which allows the CALLT instruction to be used. </dl> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -