Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32b support for _Float128 #287

Open
nickdesaulniers opened this issue Sep 27, 2024 · 1 comment
Open

32b support for _Float128 #287

nickdesaulniers opened this issue Sep 27, 2024 · 1 comment

Comments

@nickdesaulniers
Copy link

nickdesaulniers commented Sep 27, 2024

Currently, neither GCC or Clang support _Float128 for 32b ARM. Are there plans to support this new-for-c23 type?

cc @kbeyls

@smithp35
Copy link
Contributor

At the moment we have no plans to support _Float128 in AArch32. I believe that suppport for this is optional in the C23 standard.

This could change if there is a good use case for it on 32-bit platforms and there is someone willing to do an implementation in the compiler and libraries.

Our expectations of the work required in the 32-bit ABI:

  • Define the representation and alignment of _Float128.
  • Define _Float128 calling convention.
  • State that support for the type in an ABI conforming toolchain is optional.
  • Define the runtime __aeabi_ functions for manipulating _Float128.
  • Handling any corner cases with Homogenous Floating Point aggregates.

Our expectation is that _Float128 usage would be more common on AArch64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants