[fpc-devel] What is the best match for for -mfpu=fpv4-sp-d16 on fpc-arm?

Florian Klaempfl florian at freepascal.org
Sat Apr 11 21:42:14 CEST 2020


Am 11.04.2020 um 21:03 schrieb Michael Ring via fpc-devel:
> I have now set up new target freertos-arm and want to start playing 
> arround with freertos.
> 
> I have compiled freertos with STM32CubeIDE, only 'problem' is that I 
> need to compile with floting point enabled, with Soft-Float the build 
> fails.
> 
> For STM32F401RE Chip the C-compiler selects
> 
> -mfpu=fpv4-sp-d16 -mfloat-abi=hard
> 
> but Freepascal doex not seem to support exactly this abi, I see:
> NONE
> SOFT
> LIBGCC
> FPA
> FPA10
> FPA11
> VFPV2
> VFPV3
> NEON_VFPV3
> VFPV3_D16
> FPV4_S16
> VFPV4
> NEON_VFPV4
> 
> Which setting should I use? VFPV3_D16 or something else?

Let's just add it. What properties does it have? Do you have know some 
reference by heard?




More information about the fpc-devel mailing list