arduino-pico icon indicating copy to clipboard operation
arduino-pico copied to clipboard

RP2350 FPU

Open DatanoiseTV opened this issue 1 year ago • 1 comments

According to this it seems like it is using softmp mode for floating point operation for the RP2350.

SoftFP (soft floating point): Use hardware floating-point operations, but function calls pass parameters via general-purpose registers (compatible with non-FPU systems).

HardFP (hard floating point): Pass floating-point values in floating-point registers during function calls (which is faster but requires hardware FPU support).

So I wonder if it make sense to change it to read

-mfloat-abi=hard

https://gist.github.com/DatanoiseTV/96361a1e01bae07695e415d35cf23eee

DatanoiseTV avatar Oct 10 '24 22:10 DatanoiseTV