4.10.18 Floating-Point Register to Integer Register Move

Format:

FTOIxFa.rq,Rc.wq!Floating-point Operate format

Operation:

CASE:

FTOIS:

Rc<63:32> SEXT(Fav<63>)

Rc<31:0> Fav<63:62> Fav <58:29>

FTOIT:

Rc <- Fav

ENDCASE

Exceptions:

 

None

 

Instruction mnemonics:

 

FTOIS

Floating-point to Integer Register Move, S_floating

FTOIT

Floating-point to Integer Register Move, T_floating

Qualifiers:

 

None

 

Description:

Data in a floating-point register file is moved to an integer register file.

The Fb field must be F31.

The instructions do not interpret bits in the register files; specifically, the instructions do not trap on non-finite values. Also, the instructions do not access memory.

FTOIS is exactly equivalent to the sequence:

STS

LDL

FTOIT is exactly equivalent to the sequence:

STT

LDQ

Software Note:

FTOIS and FTOIT are no slower than the corresponding store/load sequence and can be significantly faster.

Instruction Descriptions 4–123

Page 179
Image 179
Compaq ECQD2KCTE manual Floating-Point Register to Integer Register Move, Ftois