JavaScript is required to for searching.
 Skip Navigation Links Exit Print View SPARC Assembly Language Reference Manual     Oracle Solaris 11 Express 11/10

### E.4 SPARC-V9 Floating-Point Instruction Set Mapping

SPARC-V9 floating-point instructions are shown in the following table.

In the Mnemonic column, types of operands are denoted by the following lowercase letters: i for 32–bit integer, x for 64–bit integer, s for single, d for double, and q for quad.

Table E-11 SPARC-V9 Floating-Point Instruction Set Mapping

SPARC
Mnemonic
Argument List
Description
F[sdq]TOx
fstox

fdtox

fqtox

fregrs2, fregrd

fregrs2, fregrd

fregrs2, fregrd

Convert floating point to 64-bit integer
fstoi

fdtoi

fqtoi

fregrs2, fregrd

fregrs2, fregrd

fregrs2, fregrd

Convert floating-point to 32-bit integer
FxTO[sdq]
fxtos

fxtod

fxtoq

fregrs2, fregrd

fregrs2, fregrd

fregrs2, fregrd

Convert 64-bit integer to floating point
fitos

fitod

fitoq

fregrs2, fregrd

fregrs2, fregrd

fregrs2, fregrd

Convert 32-bit integer to floating point
FMOV[dq]
fmovd

fmovq

fregrs2, fregrd

fregrs2, fregrd

Move double

FNEG[dq]
fnegd

fnegq

fregrs2, fregrd

fregrs2, fregrd

Negate double

FABS[dq]
fabsd

fabsq

fregrs2, fregrd

fregrs2, fregrd

Absolute value double

LDFA

LDDFA

LDQFA

lda

lda

ldda

ldda

ldqa

ldqa

[reg_plus_imm] %asi, fregrd

[reg_plus_imm] %asi, fregrd

[reg_plus_imm] %asi, fregrd

Load floating-point register from alternate space

Load double floating-point register from alternate space.

STFA

STDFA

STQFA

sta

sta

stda

stda

stqa

stqa

fregrd, [reg_plus_imm] %asi

fregrd, [reg_plus_imm] %asi