diff options
author | bnewbold <bnewbold@robocracy.org> | 2015-03-03 00:10:50 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2015-03-03 00:15:30 -0800 |
commit | 3246f26bfa100e3d2e1d9a0c761774b9c6fed35a (patch) | |
tree | 81d5608fea33fbbec786f3e41ca3e1cfbd000022 /libraries/FreeRTOS/utility/croutine.c | |
parent | a7fd405405f7ba015c1f9b1bdd4e73fd1bede27c (diff) | |
download | librambutan-3246f26bfa100e3d2e1d9a0c761774b9c6fed35a.tar.gz librambutan-3246f26bfa100e3d2e1d9a0c761774b9c6fed35a.zip |
stm32f4: 32bit-float-friendly GCC flags
This commit makes 'float' (32-bit) the default for floating point
constants in the source code, instead of the defaults 'double' (64-bit).
Floating point performance is very sensitive to the float vs. double
distinction on 32-bit processors, especially Cortex-M4s with a VFP unit
for floats but not doubles.
In the future it may be wise to make this change for non-hard-fp chips
(aka, all the other STM32s) as well, for behavioral consistancy. The
warning flag ensures that the frequently used parts of the code base
will be less ambiguous, but doesn't cover series-specific code.
Diffstat (limited to 'libraries/FreeRTOS/utility/croutine.c')
0 files changed, 0 insertions, 0 deletions