Search code examples
armstm32cortex-mfpu

FPU version for Cortex-M microcontrollers


From a simple google search, I found out that the fpu version for Tiva C Launchpad is fpv4-sp-d16 but which document tells the fpu version of various microcontrollers(tm4c123gh6pm, stm32f407, stm32f446re, etc.)?

arm-none-eabi-gcc --print-multi-lib

gives the information about architecture and abi but fpu version is not mentioned for a particular architectute.


Solution

  • The arm community suggested the following answer

    "ARM Cortex‑M4 Processor Technical Reference Manual" gives this information

    ARM Cortex-M4 TRM

    Section 7.1 about fpu says "The Cortex-M4 FPU is an implementation of the single precision variant of the ARMv7-M Floating Point Extension(FPv4-SP)"

    Also the 32 single precision registers can be combined into 16 double precision ones (d16) hence fpv4-sp-d16