📄 mmix-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.3">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
<!--
Copyright © 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="MMIX%20Options">MMIX Options</a>,
Next:<a rel="next" accesskey="n" href="PDP-11-Options.html#PDP-11%20Options">PDP-11 Options</a>,
Previous:<a rel="previous" accesskey="p" href="CRIS-Options.html#CRIS%20Options">CRIS Options</a>,
Up:<a rel="up" accesskey="u" href="Submodel-Options.html#Submodel%20Options">Submodel Options</a>
<hr><br>
</div>
<h4 class="subsection">MMIX Options</h4>
<p>These options are defined for the MMIX:
<dl>
<dt><code>-mlibfuncs</code>
<dd><dt><code>-mno-libfuncs</code>
<dd>Specify that intrinsic library functions are being compiled, passing all
values in registers, no matter the size.
<br><dt><code>-mepsilon</code>
<dd><dt><code>-mno-epsilon</code>
<dd>Generate floating-point comparison instructions that compare with respect
to the <code>rE</code> epsilon register.
<br><dt><code>-mabi=mmixware</code>
<dd><dt><code>-mabi=gnu</code>
<dd>Generate code that passes function parameters and return values that (in
the called function) are seen as registers <code>$0</code> and up, as opposed to
the GNU ABI which uses global registers <code>$231</code> and up.
<br><dt><code>-mzero-extend</code>
<dd><dt><code>-mno-zero-extend</code>
<dd>When reading data from memory in sizes shorter than 64 bits, use (do not
use) zero-extending load instructions by default, rather than
sign-extending ones.
<br><dt><code>-mknuthdiv</code>
<dd><dt><code>-mno-knuthdiv</code>
<dd>Make the result of a division yielding a remainder have the same sign as
the divisor. With the default, <code>-mno-knuthdiv</code>, the sign of the
remainder follows the sign of the dividend. Both methods are
arithmetically valid, the latter being almost exclusively used.
<br><dt><code>-mtoplevel-symbols</code>
<dd><dt><code>-mno-toplevel-symbols</code>
<dd>Prepend (do not prepend) a <code>:</code> to all global symbols, so the assembly
code can be used with the <code>PREFIX</code> assembly directive.
<br><dt><code>-melf</code>
<dd>Generate an executable in the ELF format, rather than the default
<code>mmo</code> format used by the <code>mmix</code> simulator.
<br><dt><code>-mbranch-predict</code>
<dd><dt><code>-mno-branch-predict</code>
<dd>Use (do not use) the probable-branch instructions, when static branch
prediction indicates a probable branch.
<br><dt><code>-mbase-addresses</code>
<dd><dt><code>-mno-base-addresses</code>
<dd>Generate (do not generate) code that uses <em>base addresses</em>. Using a
base address automatically generates a request (handled by the assembler
and the linker) for a constant to be set up in a global register. The
register is used for one or more base address requests within the range 0
to 255 from the value held in the register. The generally leads to short
and fast code, but the number of different data items that can be
addressed is limited. This means that a program that uses lots of static
data may require <code>-mno-base-addresses</code>.
<br><dt><code>-msingle-exit</code>
<dd><dt><code>-mno-single-exit</code>
<dd>Force (do not force) generated code to have a single exit point in each
function.
</dl>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -