AnsweredAssumed Answered

FPU can not be enabled?

Question asked by J.Tobbe on Sep 9, 2016
Latest reply on Sep 9, 2016 by waclawek.jan

I'm using the STM32F746G-Discovery board.

I'm trying to make gcc output code that uses the FPU. The flags generated by my compiler settings when the FPU is supposed to be enabled are

arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16

and corresponding flags for FPU disabled are

arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=soft

The compiler seems to generate the same code as if the FPU is disabled in both cases. This can be seen in the assembler code and the performance is identical for a floating point operation. Is it supposed to be like this?