From: GNU Libc Maintainers Date: Fri, 5 Jan 2018 18:09:39 +0000 (+0000) Subject: local-cudacc-float128 X-Git-Tag: archive/raspbian/2.26-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=798f18194384139ce39199be097ca0a52bba6de9;p=glibc.git local-cudacc-float128 Gbp-Pq: Topic any Gbp-Pq: Name local-cudacc-float128.diff --- diff --git a/sysdeps/powerpc/bits/floatn.h b/sysdeps/powerpc/bits/floatn.h index 0ce997c68..739bf43db 100644 --- a/sysdeps/powerpc/bits/floatn.h +++ b/sysdeps/powerpc/bits/floatn.h @@ -25,7 +25,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 __FLOAT128__ && !defined(__CUDACC__) # define __HAVE_FLOAT128 1 #else # define __HAVE_FLOAT128 0 diff --git a/sysdeps/x86/bits/floatn.h b/sysdeps/x86/bits/floatn.h index f93a9f8db..706dd8b51 100644 --- a/sysdeps/x86/bits/floatn.h +++ b/sysdeps/x86/bits/floatn.h @@ -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__) # define __HAVE_FLOAT128 1 #else # define __HAVE_FLOAT128 0