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

Support C23 _FloatN, _FloatNx, _BitInt(N), and C++23 std::bfloat16_t #295

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

al13n321
Copy link
Contributor

@al13n321 al13n321 commented Aug 3, 2024

These productions from https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling-builtin:

  <builtin-type> ::= [...]
                 ::= DF <number> _ # ISO/IEC TS 18661 binary floating point type _FloatN (N bits), C++23 std::floatN_t
                 ::= DF <number> x # IEEE extended precision formats, C23 _FloatNx (N bits)
                 ::= DF16b # C++23 std::bfloat16_t
                 ::= DB <number> _        # C23 signed _BitInt(N)
                 ::= DB <instantiation-dependent expression> _ # C23 signed _BitInt(N)
                 ::= DU <number> _        # C23 unsigned _BitInt(N)
                 ::= DU <instantiation-dependent expression> _ # C23 unsigned _BitInt(N)

(I've seen DB8_ in the wild, everything else is just based on the 8 lines above.)

@khuey
Copy link
Collaborator

khuey commented Aug 23, 2024

Thank you for the contribution. I'll do a release with this next week.

@khuey khuey merged commit d6f90c9 into gimli-rs:master Aug 23, 2024
5 checks passed
@khuey
Copy link
Collaborator

khuey commented Aug 28, 2024

Released 0.4.4 on crates.io

15bbde1

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

Successfully merging this pull request may close these issues.

2 participants