Skip to content

Conversation

@andylinpersonal
Copy link

@andylinpersonal andylinpersonal commented Jan 5, 2026

Enable support for -mfloat-abi=hard in pico_float:vfp and pico_double:pico-dcp.
Exclude pico_float:dcp, since this variant is intended for non-FPU configurations.

Toolchain:

  • Tested with the official arm-gnu-toolchain-14.3.rel1

Implementation:

  • __aeabi_* runtime helper functions (__aeabi_x2y) have more direct path than custom functions (xtoy).
  • Complex math functions are called through wrapper.

Test:

  • __aeabi_* functions should be explicitly marked as __attribute__((pcs("aapcs"))) when the hard abi is enabled.

Resolves #2783, resolves #1993 (maybe duplicated)

BTW, it seems like src/rp2_common/pico_double/double_fma_dcp.S is not covered by any test case yet.

Resolves raspberrypi#2783

Signed-off-by: Andy Lin <andylinpersonal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants