9.27.9.2 Supported FP ABIs
The supported floating-point ABI variants are:
0 - No floating-point
- 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.
1 - Double-precision
- 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.
2 - Single-precision
- This variant indicates that single-precision support is used. Double
precision operations will be supported via soft-float routines.
3 - Soft-float
- 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.
4 - Deprecated
- 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.
5 - Double-precision 32-bit CPU, 32-bit or 64-bit FPU
- 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.
6 - Double-precision 32-bit FPU, 64-bit FPU
- 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.
7 - Double-precision compat 32-bit FPU, 64-bit FPU
- 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.