⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 v850-options.html

📁 gcc手册
💻 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.3">

<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">

<!--

Copyright &copy; 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,

1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.



   <p>Permission is granted to copy, distribute and/or modify this document

under the terms of the GNU Free Documentation License, Version 1.2 or

any later version published by the Free Software Foundation; with the

Invariant Sections being "GNU General Public License" and "Funding

Free Software", the Front-Cover texts being (a) (see below), and with

the Back-Cover Texts being (b) (see below).  A copy of the license is

included 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.-->

</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>



<h4 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 be

far away, the compiler will always load the functions address up into a

register, 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 index

pointer 4 or more times to copy pointer into the <code>ep</code> register, and

use 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 registers at

the prolog and epilog of a function.  The external functions are slower,

but use less code space if more than one function saves the same number

of registers.  The <code>-mprolog-function</code> option is 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 turns

on 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 into

the tiny data area that register <code>ep</code> points to.  The tiny data

area 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 into

the small data area that register <code>gp</code> points to.  The small data

area 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 into

the 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 if

the assembler/linker complain about out of range branches within a switch

table.



     <br><dt><code>-mapp-regs</code>

     <dd>This option will cause r2 and r5 to be used in the code generated by

the 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>-mv850e</code>

     <dd>Specify that the target processor is the V850E.  The preprocessor

constant <code>__v850e__</code> will be defined if this option is used.



     <p>If neither <code>-mv850</code> nor <code>-mv850e</code> are defined

then a default target processor will be chosen and the relevant

<code>__v850*__</code> preprocessor constant will be defined.



     <p>The preprocessor constants <code>__v850</code> and <code>__v851__</code> are always

defined, 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 the

v850e 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 + -