3.6.6 Floating-Point Status Register(1)

Note:
  1. The FSR register is not memory mapped.
Note: Dynamic floating-point exception status, FSR [6:0]: Dynamic status bits are updated based on the results from each instruction Functional Block and will be updated after execution of each instruction.

Sticky floating-point exception status, FSR [14:8]: Sticky status bits can be set based on the results from each instruction Functional Block but cannot be cleared by hardware (other than at device Reset), and therefore represent a history of status since the last time the sticky bits were cleared. The FSR bits can be cleared through software.

Floating point compare status, FSR [19:16]: Status generated by executing a floating-point compare (FCPQ/FCPS) instruction. Used individually or combined to generate the floating-point branch conditions used by the CPU CBRAn instructions.

Floating-point test status, FSR [27:24]: Floating-point datum characteristic status generated by executing the floating-point test (FTST) instruction.

Table 3-42. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: FSR

Bit 3130292827262524 
    SUBINFFNFZFNAN 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 2322212019181716 
     GTLTEQUN 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 15141312111098 
  SUBOSHUGISINXSUDFSOVFSDIV0SINVALS 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 76543210 
  SUBOHUGIINXUDFOVFDIV0INVAL 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bit 28 – SUB (FTST) Subnormal Status bit

ValueDescription
1Operand is subnormal
0Operand result is not subnormal

Bit 27 – INF (FTST) Infinite Status bit

ValueDescription
1Operand is infinite
0Operand is not infinite

Bit 26 – FN (FTST) Negative Status bit

ValueDescription
1Operand is negative
0Operand is not negative

Bit 25 – FZ (FTST) Zero Status bit

ValueDescription
1Operand is zero
0Operand is not zero

Bit 24 – FNAN (FTST) Not a Number Status bit

ValueDescription
1Operand is a NaN (qNaN or sNaN) value
0Operand is not a NaN value

Bit 19 – GT (FCPS/FCPQ) Greater Than Status bit

ValueDescription
1Minuend is greater than the subtrahend (Fb > Fs)
0Minuend is not greater than the subtrahend (Fb ≤ Fs)

Bit 18 – LT (FCPS/FCPQ) Less Than Status bit

ValueDescription
1Minuend is less than the subtrahend (Fb < Fs)
0Minuend is not less than the subtrahend (Fb ≥ Fs)

Bit 17 – EQ (FCPS/FCPQ) Equal Status bit

ValueDescription
1Minuend is equal to the subtrahend (Fb = Fs)
0Minuend is not equal to the subtrahend (Fb != Fs)

Bit 16 – UN (FCPS/FCPQ) Unordered Status bit

ValueDescription
1Either or both operands are NaN values
0Neither operands are NaN values

Bit 14 – SUBOS Sticky Subnormal Operand Exception Flag bit

ValueDescription
1Subnormal Operand exception has just occurred, or at some time in the past
0Subnormal Operand exception has not occurred

Bit 13 – HUGIS Sticky Huge Integer Exception Flag bit

ValueDescription
1Huge Integer exception has just occurred, or at some time in the past
0Huge Integer exception has not occurred

Bit 12 – INXS Sticky Inexact Exception Flag bit

ValueDescription
1Inexact exception has just occurred, or at some time in the past
0Inexact exception has not occurred

Bit 11 – UDFS Sticky Underflow Exception Flag bit

ValueDescription
1Underflow exception has just occurred, or at some time in the past
0Underflow exception has not occurred

Bit 10 – OVFS Sticky Overflow Exception Flag bit

ValueDescription
1Overflow exception has just occurred, or at some time in the past
0Overflow exception has not occurred

Bit 9 – DIV0S Sticky Divide by Zero Exception Flag bit

ValueDescription
1Divide by Zero exception has just occurred, or at some time in the past
0Divide by Zero exception has not occurred

Bit 8 – INVALS Sticky Invalid Exception Flag bit

ValueDescription
1Invalid exception has just occurred, or at some time in the past
0Invalid exception has not occurred

Bit 6 – SUBO Subnormal Operand Exception Flag bit

ValueDescription
1Subnormal Operand exception has occurred
0Subnormal Operand exception has not occurred

Bit 5 – HUGI Huge Integer Exception Flag bit

ValueDescription
1Huge Integer exception has occurred
0Huge Integer exception has not occurred

Bit 4 – INX Inexact Exception Flag bit

ValueDescription
1Inexact exception has occurred
0Inexact exception has not occurred

Bit 3 – UDF Underflow Exception Flag bit

ValueDescription
1Underflow exception has occurred
0Underflow exception has not occurred

Bit 2 – OVF Overflow Exception Flag bit

ValueDescription
1Overflow exception has occurred
0Overflow exception has not occurred

Bit 1 – DIV0 Divide by Zero Exception Flag bit

ValueDescription
1Divide by Zero exception has occurred
0Divide by Zero exception has not occurred

Bit 0 – INVAL Invalid Exception Flag bit

ValueDescription
1Invalid exception has occurred
0Invalid exception has not occurred