local-cudacc-float128
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Thu, 29 Mar 2018 19:47:29 +0000 (20:47 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 29 Mar 2018 19:47:29 +0000 (20:47 +0100)
Gbp-Pq: Topic any
Gbp-Pq: Name local-cudacc-float128.diff

sysdeps/powerpc/bits/floatn.h
sysdeps/x86/bits/floatn.h

index c3834096e37803205b79e9616c6ef9857f0c4c15..d52e3204419eaccccdcbb8453fcd3e447ac518b3 100644 (file)
@@ -26,7 +26,7 @@
    floating-point type with the IEEE 754 binary128 format, and this glibc
    includes corresponding *f128 interfaces for it.  */
 #if defined _ARCH_PWR8 && defined __LITTLE_ENDIAN__ && (_CALL_ELF == 2) \
-    && defined __FLOAT128__ && !defined __NO_LONG_DOUBLE_MATH
+    && defined __FLOAT128__ && !defined __NO_LONG_DOUBLE_MATH && !defined(__CUDACC__) && !defined(__ICC)
 # define __HAVE_FLOAT128 1
 #else
 # define __HAVE_FLOAT128 0
index 49c75f26c56a38ead11fc88ebd136951017c4058..58ce5fe921a687dbc9e29a4372d947d9b082f9f7 100644 (file)
@@ -28,7 +28,8 @@
    support, for x86_64 and x86.  */
 #if (defined __x86_64__                                                        \
      ? __GNUC_PREREQ (4, 3)                                            \
-     : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4)))
+     : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \
+     &&  !defined(__CUDACC__) && !defined(__ICC)
 # define __HAVE_FLOAT128 1
 #else
 # define __HAVE_FLOAT128 0