arc-options.html

来自「gcc手册」· HTML 代码 · 共 64 行

HTML
64
字号
<html lang="en">

<head>

<title>Using as</title>

<meta http-equiv="Content-Type" content="text/html">

<meta name="description" content="Using as">

<meta name="generator" content="makeinfo 4.3">

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

</head>

<body>

<div class="node">

<p>

Node:<a name="ARC%20Options">ARC Options</a>,

Next:<a rel="next" accesskey="n" href="ARC-Syntax.html#ARC%20Syntax">ARC Syntax</a>,

Up:<a rel="up" accesskey="u" href="ARC-Dependent.html#ARC-Dependent">ARC-Dependent</a>

<hr><br>

</div>



<h4 class="section">Options</h4>



     <dl>



     <br><dt><code>-marc[5|6|7|8]</code>

     <dd>This option selects the core processor variant. Using

<code>-marc</code> is the same as <code>-marc6</code>, which

is also the default.



          <dl>



          <br><dt><code>arc5</code>

          <dd>Base instruction set.



          <br><dt><code>arc6</code>

          <dd>Jump-and-link (jl) instruction. No requirement of an instruction between

setting flags and conditional jump. For example:



          <pre class="smallexample">                 mov.f r0,r1

                 beq   foo

               </pre>



          <br><dt><code>arc7</code>

          <dd>Break (brk) and sleep (sleep) instructions.



          <br><dt><code>arc8</code>

          <dd>Software interrupt (swi) instruction.



     </dl>



     <p>Note: the <code>.option</code> directive can to be used to select a core

variant from within assembly code.



     <br><dt><code>-EB</code>

     <dd>This option specifies that the output generated by the assembler should

be marked as being encoded for a big-endian processor.



     <br><dt><code>-EL</code>

     <dd>This option specifies that the output generated by the assembler should

be marked as being encoded for a little-endian processor - this is the

default.



   </dl>



   </body></html>



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?