I'm pretty sure that's what fpv4_s16 is. That was implemented for cortex m4. Don't have the spec here currently though
-------- Original message --------
From: Michael Ring via fpc-devel <fpc-devel@lists.freepascal.org>
Date: Sat, 11 Apr 2020, 21:03
To: fpc-devel@lists.freepascal.org
Cc: Michael Ring <m...@michael-ring.org>
Subject: [fpc-devel] What is the best match for for -mfpu=fpv4-sp-d16 on fpc-arm?
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?
Thank you,
Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel