Compaq ECQD2KCTE manual Convert Ieee Floating to Integer, Cvttq

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 173
Image 173

4.10.12 Convert IEEE Floating to Integer

Format:

CVTTQ

Fb.rx,Fc.wq

!Floating-point Operate format

Operation:

Fc {conversion of Fbv}

Exceptions:

Invalid Operation

Inexact Result

Integer Overflow

Instruction mnemonics:

CVTTQConvert T_floating to Quadword

Qualifiers:

Rounding:

Dynamic (/D)

 

Minus infinity (/M)

 

Chopped (/C)

Trapping:

Exception Completion (/S)

 

Integer Overflow Enable (/V)

 

Inexact Enable (/I)

Description:

The floating operand in register Fb is converted to a two’s-complement number and written to register Fc. The conversion aligns the operand fraction with the binary point just to the right of bit zero, rounds as specified, and complements the result if negative. Register Fa must be F31.

See Section 4.7.7 for details of the stored result on integer overflow and inexact result.

Instruction Descriptions 4–117

Page 173
Image 173
Compaq ECQD2KCTE manual Convert Ieee Floating to Integer, Cvttq