Floating-Point Unit (FPU)
Description:
This function enables the floating-point unit, allowing the floating-point instructions to be exe-
cuted. This function must be called prior to performing any hardware floating-point operations;
failure to do so results in a NOCP usage fault.
Returns:
None.
9.2.1.3
ROM_FPUFlushToZeroModeSet
Selects the flush-to-zero mode.
Prototype:
void
ROM_FPUFlushToZeroModeSet(uint32_t ui32Mode)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_FPUTABLE
is an array of pointers located at
ROM_APITABLE[26]
.
ROM_FPUFlushToZeroModeSet
is a function pointer located at
ROM_FPUTABLE[2]
.
Parameters:
ui32Mode
is the flush-to-zero mode; which is either
FPU_FLUSH_TO_ZERO_DIS
or
FPU_FLUSH_TO_ZERO_EN
.
Description:
This function enables or disables the flush-to-zero mode of the floating-point unit. When dis-
abled (the default), the floating-point unit is fully IEEE compliant. When enabled, values close
to zero are treated as zero, greatly improving the execution speed at the expense of some
accuracy (as well as IEEE compliance).
Note:
Unless this function is called prior to executing any floating-point instructions, the default mode
is used.
Returns:
None.
9.2.1.4
ROM_FPUHalfPrecisionModeSet
Selects the format of half-precision floating-point values.
Prototype:
void
ROM_FPUHalfPrecisionModeSet(uint32_t ui32Mode)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_FPUTABLE
is an array of pointers located at
ROM_APITABLE[26]
.
ROM_FPUHalfPrecisionModeSet
is a function pointer located at
ROM_FPUTABLE[3]
.
April 8, 2013
83
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...