File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2067,6 +2067,10 @@ def isX86 : RuntimeLibcallPredicate<"TT.isX86()">;
20672067// Some darwins have an optimized __bzero/bzero function.
20682068def darwinHas__bzero : RuntimeLibcallPredicate<"TT.isMacOSX() && !TT.isMacOSXVersionLT(10, 6)">;
20692069
2070+ // FIXME: This is has ldexpl/frexpl plus use f128 for long double.
2071+ def hasFrexplLdexplF128
2072+ : RuntimeLibcallPredicate<[{(!TT.isOSWindows() || TT.isOSCygMing()) && !TT.isGNUEnvironment()}]>;
2073+
20702074// Use the f128 variants of math functions on x86
20712075defvar X86_F128_Libcalls = LibcallImpls<(add LibmF128Libcalls, LibmF128FiniteLibcalls), isGNUEnvironment>;
20722076
@@ -2080,6 +2084,7 @@ defvar X86CommonLibcalls =
20802084 LibcallImpls<(add __bzero), darwinHas__bzero>,
20812085 LibmHasFrexpF32, LibmHasLdexpF32,
20822086 LibmHasFrexpF80, LibmHasLdexpF80,
2087+ LibcallImpls<(add frexp_f128, ldexp_f128), hasFrexplLdexplF128>,
20832088 DefaultRuntimeLibcallImpls_f80,
20842089 // FIXME: MSVCRT doesn't have powi. The f128 case is added as a
20852090 // hack for one test relying on it.
You can’t perform that action at this time.
0 commit comments