VAX and IEEE subsets, appropriately set the FPCR exception bits. It is UNPREDICTABLE whether floating-point operates that belong only to the VAX floating-point subset set the FPCR exception bits.

Alpha floating-point hardware only transitions these exception bits from zero to one. Once set to one, these exception bits are only cleared when software writes zero into these bits by writ- ing a new value into the FPCR.

Section 4.7.2 allows certain of the FPCR bits to be subsetted.

The format of the FPCR is shown in Figure 4–1and described in Table 4–11.

Figure 4–1: Floating-Point Control Register (FPCR) Format

63 62 61 60 59

58 57 56 55 54 53 52 51 50 49 48 47 46

0

S

I

U

U

DYN

I

I

U

O

D

I

O

D

I

D

D

 

 

U

N

N

N

O

N

N

V

Z

N

V

Z

N

N

N

 

RAZ/IGN

M

E

F

D

_RM

V

E

F

F

E

V

F

E

V

Z

O

 

 

 

D

D

Z

 

 

 

 

 

 

 

 

D

D

D

 

D

 

 

Table 4–11: Floating-Point Control Register (FPCR) Bit Descriptions

Bit

Description (Meaning When Set)

63Summary Bit (SUM). Records bitwise OR of FPCR exception bits. Equal to FPCR<57 56 55 54 53 52>.

62Inexact Disable (INED). Suppress INE trap and place correct IEEE nontrapping result in the destination register.

61Underflow Disable (UNFD). Suppress UNF trap and place correct IEEE nontrap- ping result in the destination register if the implementation is capable of produc- ing correct IEEE nontrapping result. The correct result value is determined according to the value of the UNDZ bit.

60Underflow to Zero (UNDZ). When set together with UNFD, on underflow, the hardware places a true zero (64 bits of zero) in the destination register rather than the result specified by the IEEE standard.

59–58 Dynamic Rounding Mode (DYN). Indicates the rounding mode to be used by an IEEE floating-point operate instruction when the instruction’s function field spec- ifies dynamic mode (/D). Assignments are:

DYN

IEEE Rounding Mode Selected

 

 

00

Chopped rounding mode

01

Minus infinity

10Normal rounding

11Plus infinity

4–80Alpha Architecture Handbook

Page 136
Image 136
Compaq ECQD2KCTE manual Floating-Point Control Register Fpcr Format, Ieee Rounding Mode Selected