You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
5.4 KiB
HTML
110 lines
5.4 KiB
HTML
4 years ago
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>NDS32 Options - 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.13">
|
||
|
<link title="Top" rel="start" href="index.html#Top">
|
||
|
<link rel="up" href="Submodel-Options.html#Submodel-Options" title="Submodel Options">
|
||
|
<link rel="prev" href="MSP430-Options.html#MSP430-Options" title="MSP430 Options">
|
||
|
<link rel="next" href="Nios-II-Options.html#Nios-II-Options" title="Nios II Options">
|
||
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||
|
<!--
|
||
|
Copyright (C) 1988-2015 Free Software Foundation, Inc.
|
||
|
|
||
|
Permission is granted to copy, distribute and/or modify this document
|
||
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||
|
any later version published by the Free Software Foundation; with the
|
||
|
Invariant Sections being ``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''.
|
||
|
|
||
|
(a) The FSF's Front-Cover Text is:
|
||
|
|
||
|
A GNU Manual
|
||
|
|
||
|
(b) The FSF's Back-Cover Text is:
|
||
|
|
||
|
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 }
|
||
|
span.sc { font-variant:small-caps }
|
||
|
span.roman { font-family:serif; font-weight:normal; }
|
||
|
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||
|
--></style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="node">
|
||
|
<a name="NDS32-Options"></a>
|
||
|
<p>
|
||
|
Next: <a rel="next" accesskey="n" href="Nios-II-Options.html#Nios-II-Options">Nios II Options</a>,
|
||
|
Previous: <a rel="previous" accesskey="p" href="MSP430-Options.html#MSP430-Options">MSP430 Options</a>,
|
||
|
Up: <a rel="up" accesskey="u" href="Submodel-Options.html#Submodel-Options">Submodel Options</a>
|
||
|
<hr>
|
||
|
</div>
|
||
|
|
||
|
<h4 class="subsection">3.17.30 NDS32 Options</h4>
|
||
|
|
||
|
<p><a name="index-NDS32-Options-2116"></a>
|
||
|
These options are defined for NDS32 implementations:
|
||
|
|
||
|
<dl>
|
||
|
<dt><code>-mbig-endian</code><dd><a name="index-mbig_002dendian-2117"></a>Generate code in big-endian mode.
|
||
|
|
||
|
<br><dt><code>-mlittle-endian</code><dd><a name="index-mlittle_002dendian-2118"></a>Generate code in little-endian mode.
|
||
|
|
||
|
<br><dt><code>-mreduced-regs</code><dd><a name="index-mreduced_002dregs-2119"></a>Use reduced-set registers for register allocation.
|
||
|
|
||
|
<br><dt><code>-mfull-regs</code><dd><a name="index-mfull_002dregs-2120"></a>Use full-set registers for register allocation.
|
||
|
|
||
|
<br><dt><code>-mcmov</code><dd><a name="index-mcmov-2121"></a>Generate conditional move instructions.
|
||
|
|
||
|
<br><dt><code>-mno-cmov</code><dd><a name="index-mno_002dcmov-2122"></a>Do not generate conditional move instructions.
|
||
|
|
||
|
<br><dt><code>-mperf-ext</code><dd><a name="index-mperf_002dext-2123"></a>Generate performance extension instructions.
|
||
|
|
||
|
<br><dt><code>-mno-perf-ext</code><dd><a name="index-mno_002dperf_002dext-2124"></a>Do not generate performance extension instructions.
|
||
|
|
||
|
<br><dt><code>-mv3push</code><dd><a name="index-mv3push-2125"></a>Generate v3 push25/pop25 instructions.
|
||
|
|
||
|
<br><dt><code>-mno-v3push</code><dd><a name="index-mno_002dv3push-2126"></a>Do not generate v3 push25/pop25 instructions.
|
||
|
|
||
|
<br><dt><code>-m16-bit</code><dd><a name="index-m16_002dbit-2127"></a>Generate 16-bit instructions.
|
||
|
|
||
|
<br><dt><code>-mno-16-bit</code><dd><a name="index-mno_002d16_002dbit-2128"></a>Do not generate 16-bit instructions.
|
||
|
|
||
|
<br><dt><code>-misr-vector-size=</code><var>num</var><dd><a name="index-misr_002dvector_002dsize-2129"></a>Specify the size of each interrupt vector, which must be 4 or 16.
|
||
|
|
||
|
<br><dt><code>-mcache-block-size=</code><var>num</var><dd><a name="index-mcache_002dblock_002dsize-2130"></a>Specify the size of each cache block,
|
||
|
which must be a power of 2 between 4 and 512.
|
||
|
|
||
|
<br><dt><code>-march=</code><var>arch</var><dd><a name="index-march-2131"></a>Specify the name of the target architecture.
|
||
|
|
||
|
<br><dt><code>-mcmodel=</code><var>code-model</var><dd><a name="index-mcmodel-2132"></a>Set the code model to one of
|
||
|
<dl>
|
||
|
<dt>‘<samp><span class="samp">small</span></samp>’<dd>All the data and read-only data segments must be within 512KB addressing space.
|
||
|
The text segment must be within 16MB addressing space.
|
||
|
<br><dt>‘<samp><span class="samp">medium</span></samp>’<dd>The data segment must be within 512KB while the read-only data segment can be
|
||
|
within 4GB addressing space. The text segment should be still within 16MB
|
||
|
addressing space.
|
||
|
<br><dt>‘<samp><span class="samp">large</span></samp>’<dd>All the text and data segments can be within 4GB addressing space.
|
||
|
</dl>
|
||
|
|
||
|
<br><dt><code>-mctor-dtor</code><dd><a name="index-mctor_002ddtor-2133"></a>Enable constructor/destructor feature.
|
||
|
|
||
|
<br><dt><code>-mrelax</code><dd><a name="index-mrelax-2134"></a>Guide linker to relax instructions.
|
||
|
|
||
|
</dl>
|
||
|
|
||
|
</body></html>
|
||
|
|