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.
94 lines
4.5 KiB
HTML
94 lines
4.5 KiB
HTML
4 years ago
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>MIPS FP ABI Variants - Using as</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html">
|
||
|
<meta name="description" content="Using as">
|
||
|
<meta name="generator" content="makeinfo 4.13">
|
||
|
<link title="Top" rel="start" href="index.html#Top">
|
||
|
<link rel="up" href="MIPS-FP-ABIs.html#MIPS-FP-ABIs" title="MIPS FP ABIs">
|
||
|
<link rel="prev" href="MIPS-FP-ABI-History.html#MIPS-FP-ABI-History" title="MIPS FP ABI History">
|
||
|
<link rel="next" href="MIPS-FP-ABI-Selection.html#MIPS-FP-ABI-Selection" title="MIPS FP ABI Selection">
|
||
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||
|
<!--
|
||
|
This file documents the GNU Assembler "as".
|
||
|
|
||
|
Copyright (C) 1991-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 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''.
|
||
|
|
||
|
-->
|
||
|
<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="MIPS-FP-ABI-Variants"></a>
|
||
|
<p>
|
||
|
Next: <a rel="next" accesskey="n" href="MIPS-FP-ABI-Selection.html#MIPS-FP-ABI-Selection">MIPS FP ABI Selection</a>,
|
||
|
Previous: <a rel="previous" accesskey="p" href="MIPS-FP-ABI-History.html#MIPS-FP-ABI-History">MIPS FP ABI History</a>,
|
||
|
Up: <a rel="up" accesskey="u" href="MIPS-FP-ABIs.html#MIPS-FP-ABIs">MIPS FP ABIs</a>
|
||
|
<hr>
|
||
|
</div>
|
||
|
|
||
|
<h5 class="subsubsection">9.27.9.2 Supported FP ABIs</h5>
|
||
|
|
||
|
<p>The supported floating-point ABI variants are:
|
||
|
|
||
|
<dl>
|
||
|
<dt><code>0 - No floating-point</code><dd>This variant is used to indicate that floating-point is not used within
|
||
|
the module at all and therefore has no impact on the ABI. This is the
|
||
|
default.
|
||
|
|
||
|
<br><dt><code>1 - Double-precision</code><dd>This variant indicates that double-precision support is used. For 64-bit
|
||
|
ABIs this means that 64-bit wide floating-point registers are required.
|
||
|
For 32-bit ABIs this means that 32-bit wide floating-point registers are
|
||
|
required and double-precision operations use pairs of registers.
|
||
|
|
||
|
<br><dt><code>2 - Single-precision</code><dd>This variant indicates that single-precision support is used. Double
|
||
|
precision operations will be supported via soft-float routines.
|
||
|
|
||
|
<br><dt><code>3 - Soft-float</code><dd>This variant indicates that although floating-point support is used all
|
||
|
operations are emulated in software. This means the ABI is modified to
|
||
|
pass all floating-point data in general-purpose registers.
|
||
|
|
||
|
<br><dt><code>4 - Deprecated</code><dd>This variant existed as an initial attempt at supporting 64-bit wide
|
||
|
floating-point registers for O32 ABI on a MIPS32r2 CPU. This has been
|
||
|
superseded by 5, 6 and 7.
|
||
|
|
||
|
<br><dt><code>5 - Double-precision 32-bit CPU, 32-bit or 64-bit FPU</code><dd>This variant is used by 32-bit ABIs to indicate that the floating-point
|
||
|
code in the module has been designed to operate correctly with either
|
||
|
32-bit wide or 64-bit wide floating-point registers. Double-precision
|
||
|
support is used. Only O32 currently supports this variant and requires
|
||
|
a minimum architecture of MIPS II.
|
||
|
|
||
|
<br><dt><code>6 - Double-precision 32-bit FPU, 64-bit FPU</code><dd>This variant is used by 32-bit ABIs to indicate that the floating-point
|
||
|
code in the module requires 64-bit wide floating-point registers.
|
||
|
Double-precision support is used. Only O32 currently supports this
|
||
|
variant and requires a minimum architecture of MIPS32r2.
|
||
|
|
||
|
<br><dt><code>7 - Double-precision compat 32-bit FPU, 64-bit FPU</code><dd>This variant is used by 32-bit ABIs to indicate that the floating-point
|
||
|
code in the module requires 64-bit wide floating-point registers.
|
||
|
Double-precision support is used. This differs from the previous ABI
|
||
|
as it restricts use of odd-numbered single-precision registers. Only
|
||
|
O32 currently supports this variant and requires a minimum architecture
|
||
|
of MIPS32r2.
|
||
|
</dl>
|
||
|
|
||
|
</body></html>
|
||
|
|