Skip to content

Unbreak *tf builtins for hexfloat #82208

New issue

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

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

Already on GitHub? # to your account

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

arichardson
Copy link
Member

This is #77981 with an additional fix on top that should unbreak PPC64. It took me a while to get back to this but I believe this change fixes it.

I am still getting failures for PPC32 but it's likely that this is due to my QEMU-user setup since those tests also failed without this patchset.

@perry-ca could you please test if this fixes the issue you reported?

@perry-ca
Copy link
Contributor

This works with our hexfloat and ieee builds on z/os. Thanks!

@arichardson arichardson merged commit 99c457d into llvm:main Feb 21, 2024
@arichardson arichardson deleted the builtins-hexfloat-fixes branch February 21, 2024 21:00
@perry-ca
Copy link
Contributor

Alex, I discovered that our code I tried your PR on had a diff that was needed to get the code to compile. Our builds are actually still failing with just this PR. Sorry I missed that. I made the change in #82789.

llvmbot pushed a commit to llvmbot/llvm-project that referenced this pull request Feb 25, 2024
This re-lands cc0065a in a way that
keeps existing targets working.

---------

Original commit message:
llvm#68132 ended up removing
__multc3 & __divtc3 from compiler-rt library builds that have
QUAD_PRECISION but not TF_MODE due to missing int128 support.
I added support for QUAD_PRECISION to use the native hex float long double representation.

---------

Co-authored-by: Sean Perry <perry@ca.ibm.com>
(cherry picked from commit 99c457d)
llvmbot pushed a commit to llvmbot/llvm-project that referenced this pull request Mar 13, 2024
This re-lands cc0065a in a way that
keeps existing targets working.

---------

Original commit message:
llvm#68132 ended up removing
__multc3 & __divtc3 from compiler-rt library builds that have
QUAD_PRECISION but not TF_MODE due to missing int128 support.
I added support for QUAD_PRECISION to use the native hex float long double representation.

---------

Co-authored-by: Sean Perry <perry@ca.ibm.com>
(cherry picked from commit 99c457d)
@pointhex pointhex mentioned this pull request May 7, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants