Table 57. Effect Of A Floating-Point Comparison On The Condition Flags - ST STM32F3 Series Programming Manual

Hide thumbs Also See for STM32F3 Series:
Table of Contents

Advertisement

Core peripherals
Bit 28 V: Overflow condition code flag. Floating-point comparison operations update this flag. For more
details on the result, refer to
0: Operation did not result in an overflow
1: Operation resulted in an overflow.
Bit 27 Reserved.
Bit 26 AHP: Alternative half-precision control bit:
0: IEEE half-precision format selected.
1: Alternative half-precision format selected.
Bit 25 DN: Default NaN mode control bit:
0: NaN operands propagate through to the output of a floating-point operation.
1: Any operation involving one or more NaNs returns the Default NaN.
Bit 24 FZ: Flush-to-zero mode control bit:
0: Flush-to-zero mode disabled. Behavior of the floating-point system is fully compliant with the
IEEE 754 standard.
1: Flush-to-zero mode enabled.
Bits 23:22 RMode: Rounding Mode control field. The specified rounding mode is used by almost all
floating-point instructions:
0b00: Round to nearest (RN) mode
0b01: Round towards plus infinity (RP) mode
0b10: Round towards minus infinity (RM) mode
0b11: Round towards zero (RZ) mode.
Bit 21:8 Reserved.
Bit 7 IDC: Input denormal cumulative exception bit. Cumulative exception bit for floating-point
exception.
1: Indicates that the corresponding exception occurred since 0 was last written to it.
Bit 6:5 Reserved
Bit 4 IXC: Inexact cumulative exception bit. Cumulative exception bit for floating-point exception.
1: Indicates that the corresponding exception occurred since 0 was last written to it.
Bit 3 UFC: Underflow cumulative exception bit. Cumulative exception bit for floating-point exception.
1: Indicates that the corresponding exception occurred since 0 was last written to it.
Bit 2 OFC: Overflow cumulative exception bit. Cumulative exception bit for floating-point exception.
1: Indicates that the corresponding exception occurred since 0 was last written to it.
Bit 1 DZC: Division by zero cumulative exception bit. Cumulative exception bit for floating-point
exception. 1: Indicates that the corresponding exception occurred since 0 was last written to it.
Bit 0 IOC: Invalid operation cumulative exception bit. Cumulative exception bit for floating-point
exception. 1: Indicates that the corresponding exception occurred since 0 was last written to it.
Equal
Less than
Greater than
Unordered
256/262

Table 57. Effect of a Floating-point comparison on the condition flags

Comparison result
Table
57.
PM0214 Rev 10
N
Z
C
0
1
1
1
0
0
0
0
1
0
0
1
PM0214
V
0
0
0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F3 Series and is the answer not in the manual?

Questions and answers

Table of Contents