-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
[builtins] Missing __extendhfxf2
and __truncxfhf2
#105181
Open
Labels
Comments
lntue
pushed a commit
that referenced
this issue
Oct 1, 2024
Issue: #105181 extendhfxf2 calls extendhfXfy to convert _Float16 to double, then type casts this converted value to long double. __uint128_t may not be available on all architectures. Thus I din't use extendhfXfy to widen precision to 128 bits.
VitaNuo
pushed a commit
to VitaNuo/llvm-project
that referenced
this issue
Oct 2, 2024
Issue: llvm#105181 extendhfxf2 calls extendhfXfy to convert _Float16 to double, then type casts this converted value to long double. __uint128_t may not be available on all architectures. Thus I din't use extendhfXfy to widen precision to 128 bits.
VitaNuo
pushed a commit
to VitaNuo/llvm-project
that referenced
this issue
Oct 2, 2024
Issue: llvm#105181 extendhfxf2 calls extendhfXfy to convert _Float16 to double, then type casts this converted value to long double. __uint128_t may not be available on all architectures. Thus I din't use extendhfXfy to widen precision to 128 bits.
Sterling-Augustine
pushed a commit
to Sterling-Augustine/llvm-project
that referenced
this issue
Oct 3, 2024
Issue: llvm#105181 extendhfxf2 calls extendhfXfy to convert _Float16 to double, then type casts this converted value to long double. __uint128_t may not be available on all architectures. Thus I din't use extendhfXfy to widen precision to 128 bits.
xgupta
pushed a commit
to xgupta/llvm-project
that referenced
this issue
Oct 4, 2024
Issue: llvm#105181 extendhfxf2 calls extendhfXfy to convert _Float16 to double, then type casts this converted value to long double. __uint128_t may not be available on all architectures. Thus I din't use extendhfXfy to widen precision to 128 bits.
This was referenced Dec 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These functions convert their argument between
_Float16
and x86 80-bitlong double
.https://godbolt.org/z/YqWsToYde
C++ code:
Error when running Clang with
-rtlib=compiler-rt
:C++ code:
Error when running Clang with
-rtlib=compiler-rt
:cc @lntue
The text was updated successfully, but these errors were encountered: