]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sysdeps: Enable glibc f128 support for non-cuda and if compiler supports it google/grte/v5-2.27/master
authorPranav Kant <prka@google.com>
Fri, 16 May 2025 20:06:21 +0000 (13:06 -0700)
committerPranav Kant <prka@google.com>
Fri, 16 May 2025 20:06:21 +0000 (13:06 -0700)
sysdeps/x86/bits/floatn.h

index 7387bbae38f5ab3e0af355425e7932b70010ebbd..8f0108744b1e2e6f4f6a91d37293fb97095c76cd 100644 (file)
@@ -33,7 +33,7 @@
 #if (defined __x86_64__                                                        \
      ? __GNUC_PREREQ (4, 3)                                            \
      : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \
-    || defined __clang__
+    || (defined __clang__ && defined __FLOAT128__ && !defined(__CUDA__))
 # define __HAVE_FLOAT128 1
 #else
 # define __HAVE_FLOAT128 0