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.
143 lines
8.7 KiB
HTML
143 lines
8.7 KiB
HTML
<html lang="en">
|
|
<head>
|
|
<title>M32R-Opts - Using as</title>
|
|
<meta http-equiv="Content-Type" content="text/html">
|
|
<meta name="description" content="Using as">
|
|
<meta name="generator" content="makeinfo 4.7">
|
|
<link title="Top" rel="start" href="index.html#Top">
|
|
<link rel="up" href="M32R_002dDependent.html#M32R_002dDependent" title="M32R-Dependent">
|
|
<link rel="next" href="M32R_002dDirectives.html#M32R_002dDirectives" title="M32R-Directives">
|
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
|
<!--
|
|
This file documents the GNU Assembler "as".
|
|
|
|
Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002,
|
|
2006, 2007 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.1
|
|
or any later version published by the Free Software Foundation;
|
|
with no Invariant Sections, with no Front-Cover Texts, and with no
|
|
Back-Cover Texts. A copy of the license is included in the
|
|
section entitled ``GNU Free Documentation License''.
|
|
|
|
man end-->
|
|
<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; }
|
|
--></style>
|
|
</head>
|
|
<body>
|
|
<div class="node">
|
|
<p>
|
|
<a name="M32R_002dOpts"></a>Next: <a rel="next" accesskey="n" href="M32R_002dDirectives.html#M32R_002dDirectives">M32R-Directives</a>,
|
|
Up: <a rel="up" accesskey="u" href="M32R_002dDependent.html#M32R_002dDependent">M32R-Dependent</a>
|
|
<hr><br>
|
|
</div>
|
|
|
|
<h4 class="subsection">9.19.1 M32R Options</h4>
|
|
|
|
<p><a name="index-options_002c-M32R-1039"></a><a name="index-M32R-options-1040"></a>
|
|
The Renease M32R version of <code>as</code> has a few machine
|
|
dependent options:
|
|
|
|
<dl>
|
|
<dt><code>-m32rx</code><dd><a name="index-_0040samp_007b_002dm32rx_007d-option_002c-M32RX-1041"></a><a name="index-architecture-options_002c-M32RX-1042"></a><a name="index-M32R-architecture-options-1043"></a><code>as</code> can assemble code for several different members of the
|
|
Renesas M32R family. Normally the default is to assemble code for
|
|
the M32R microprocessor. This option may be used to change the default
|
|
to the M32RX microprocessor, which adds some more instructions to the
|
|
basic M32R instruction set, and some additional parameters to some of
|
|
the original instructions.
|
|
|
|
<br><dt><code>-m32r2</code><dd><a name="index-_0040samp_007b_002dm32rx_007d-option_002c-M32R2-1044"></a><a name="index-architecture-options_002c-M32R2-1045"></a><a name="index-M32R-architecture-options-1046"></a>This option changes the target processor to the the M32R2
|
|
microprocessor.
|
|
|
|
<br><dt><code>-m32r</code><dd><a name="index-_0040samp_007b_002dm32r_007d-option_002c-M32R-1047"></a><a name="index-architecture-options_002c-M32R-1048"></a><a name="index-M32R-architecture-options-1049"></a>This option can be used to restore the assembler's default behaviour of
|
|
assembling for the M32R microprocessor. This can be useful if the
|
|
default has been changed by a previous command line option.
|
|
|
|
<br><dt><code>-little</code><dd><a name="index-_0040code_007b_002dlittle_007d-option_002c-M32R-1050"></a>This option tells the assembler to produce little-endian code and
|
|
data. The default is dependent upon how the toolchain was
|
|
configured.
|
|
|
|
<br><dt><code>-EL</code><dd><a name="index-_0040code_007b_002dEL_007d-option_002c-M32R-1051"></a>This is a synonym for <em>-little</em>.
|
|
|
|
<br><dt><code>-big</code><dd><a name="index-_0040code_007b_002dbig_007d-option_002c-M32R-1052"></a>This option tells the assembler to produce big-endian code and
|
|
data.
|
|
|
|
<br><dt><code>-EB</code><dd><a name="index-_0040code_007b_002dEB_007d-option_002c-M32R-1053"></a>This is a synonum for <em>-big</em>.
|
|
|
|
<br><dt><code>-KPIC</code><dd><a name="index-_0040code_007b_002dKPIC_007d-option_002c-M32R-1054"></a><a name="index-PIC-code-generation-for-M32R-1055"></a>This option specifies that the output of the assembler should be
|
|
marked as position-independent code (PIC).
|
|
|
|
<br><dt><code>-parallel</code><dd><a name="index-_0040code_007b_002dparallel_007d-option_002c-M32RX-1056"></a>This option tells the assembler to attempts to combine two sequential
|
|
instructions into a single, parallel instruction, where it is legal to
|
|
do so.
|
|
|
|
<br><dt><code>-no-parallel</code><dd><a name="index-_0040code_007b_002dno_002dparallel_007d-option_002c-M32RX-1057"></a>This option disables a previously enabled <em>-parallel</em> option.
|
|
|
|
<br><dt><code>-no-bitinst</code><dd><a name="index-_0040samp_007b_002dno_002dbitinst_007d_002c-M32R2-1058"></a>This option disables the support for the extended bit-field
|
|
instructions provided by the M32R2. If this support needs to be
|
|
re-enabled the <em>-bitinst</em> switch can be used to restore it.
|
|
|
|
<br><dt><code>-O</code><dd><a name="index-_0040code_007b_002dO_007d-option_002c-M32RX-1059"></a>This option tells the assembler to attempt to optimize the
|
|
instructions that it produces. This includes filling delay slots and
|
|
converting sequential instructions into parallel ones. This option
|
|
implies <em>-parallel</em>.
|
|
|
|
<br><dt><code>-warn-explicit-parallel-conflicts</code><dd><a name="index-_0040samp_007b_002dwarn_002dexplicit_002dparallel_002dconflicts_007d-option_002c-M32RX-1060"></a>Instructs <code>as</code> to produce warning messages when
|
|
questionable parallel instructions are encountered. This option is
|
|
enabled by default, but <code>gcc</code> disables it when it invokes
|
|
<code>as</code> directly. Questionable instructions are those whose
|
|
behaviour would be different if they were executed sequentially. For
|
|
example the code fragment <span class="samp">mv r1, r2 || mv r3, r1</span> produces a
|
|
different result from <span class="samp">mv r1, r2 \n mv r3, r1</span> since the former
|
|
moves r1 into r3 and then r2 into r1, whereas the later moves r2 into r1
|
|
and r3.
|
|
|
|
<br><dt><code>-Wp</code><dd><a name="index-_0040samp_007b_002dWp_007d-option_002c-M32RX-1061"></a>This is a shorter synonym for the <em>-warn-explicit-parallel-conflicts</em>
|
|
option.
|
|
|
|
<br><dt><code>-no-warn-explicit-parallel-conflicts</code><dd><a name="index-_0040samp_007b_002dno_002dwarn_002dexplicit_002dparallel_002dconflicts_007d-option_002c-M32RX-1062"></a>Instructs <code>as</code> not to produce warning messages when
|
|
questionable parallel instructions are encountered.
|
|
|
|
<br><dt><code>-Wnp</code><dd><a name="index-_0040samp_007b_002dWnp_007d-option_002c-M32RX-1063"></a>This is a shorter synonym for the <em>-no-warn-explicit-parallel-conflicts</em>
|
|
option.
|
|
|
|
<br><dt><code>-ignore-parallel-conflicts</code><dd><a name="index-_0040samp_007b_002dignore_002dparallel_002dconflicts_007d-option_002c-M32RX-1064"></a>This option tells the assembler's to stop checking parallel
|
|
instructions for constraint violations. This ability is provided for
|
|
hardware vendors testing chip designs and should not be used under
|
|
normal circumstances.
|
|
|
|
<br><dt><code>-no-ignore-parallel-conflicts</code><dd><a name="index-_0040samp_007b_002dno_002dignore_002dparallel_002dconflicts_007d-option_002c-M32RX-1065"></a>This option restores the assembler's default behaviour of checking
|
|
parallel instructions to detect constraint violations.
|
|
|
|
<br><dt><code>-Ip</code><dd><a name="index-_0040samp_007b_002dIp_007d-option_002c-M32RX-1066"></a>This is a shorter synonym for the <em>-ignore-parallel-conflicts</em>
|
|
option.
|
|
|
|
<br><dt><code>-nIp</code><dd><a name="index-_0040samp_007b_002dnIp_007d-option_002c-M32RX-1067"></a>This is a shorter synonym for the <em>-no-ignore-parallel-conflicts</em>
|
|
option.
|
|
|
|
<br><dt><code>-warn-unmatched-high</code><dd><a name="index-_0040samp_007b_002dwarn_002dunmatched_002dhigh_007d-option_002c-M32R-1068"></a>This option tells the assembler to produce a warning message if a
|
|
<code>.high</code> pseudo op is encountered without a matching <code>.low</code>
|
|
pseudo op. The presence of such an unmatched pseudo op usually
|
|
indicates a programming error.
|
|
|
|
<br><dt><code>-no-warn-unmatched-high</code><dd><a name="index-_0040samp_007b_002dno_002dwarn_002dunmatched_002dhigh_007d-option_002c-M32R-1069"></a>Disables a previously enabled <em>-warn-unmatched-high</em> option.
|
|
|
|
<br><dt><code>-Wuh</code><dd><a name="index-_0040samp_007b_002dWuh_007d-option_002c-M32RX-1070"></a>This is a shorter synonym for the <em>-warn-unmatched-high</em> option.
|
|
|
|
<br><dt><code>-Wnuh</code><dd><a name="index-_0040samp_007b_002dWnuh_007d-option_002c-M32RX-1071"></a>This is a shorter synonym for the <em>-no-warn-unmatched-high</em> option.
|
|
|
|
</dl>
|
|
|
|
</body></html>
|
|
|