[PATCH] D55478: [openmp] [runtime] Disable KMP_HAVE_QUAD on NetBSD gcc
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 11 11:05:33 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL348886: [runtime] Disable KMP_HAVE_QUAD on NetBSD gcc (authored by mgorny, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D55478?vs=177397&id=177742#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55478/new/
https://reviews.llvm.org/D55478
Files:
openmp/trunk/runtime/src/kmp_os.h
Index: openmp/trunk/runtime/src/kmp_os.h
===================================================================
--- openmp/trunk/runtime/src/kmp_os.h
+++ openmp/trunk/runtime/src/kmp_os.h
@@ -86,9 +86,12 @@
128-bit extended precision type yet */
typedef long double _Quad;
#elif KMP_COMPILER_GCC
+/* GCC on NetBSD lacks __multc3/__divtc3 builtins needed for quad */
+#if !KMP_OS_NETBSD
typedef __float128 _Quad;
#undef KMP_HAVE_QUAD
#define KMP_HAVE_QUAD 1
+#endif
#elif KMP_COMPILER_MSVC
typedef long double _Quad;
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55478.177742.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181211/a393cffe/attachment.bin>
More information about the llvm-commits
mailing list