[Openmp-commits] [openmp] [runtime] Re-enable KMP_HAVE_QUAD on NetBSD GCC (PR #73478)

Brad Smith via Openmp-commits openmp-commits at lists.llvm.org
Sun Nov 26 20:47:05 PST 2023


https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/73478

None

>From 317c9700c59101adb51e1b84a1ed1781cfe14dca Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Sun, 26 Nov 2023 23:43:22 -0500
Subject: [PATCH] [runtime] Re-enable KMP_HAVE_QUAD on NetBSD GCC

---
 openmp/runtime/src/kmp_os.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h
index ca694f6f14933cd..c46da0cd5d574e1 100644
--- a/openmp/runtime/src/kmp_os.h
+++ b/openmp/runtime/src/kmp_os.h
@@ -105,12 +105,9 @@
    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



More information about the Openmp-commits mailing list