[gtk/f16c.msvc: 61/61] meson.build: Check for F16C on 32-bit Visual Studio
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/f16c.msvc: 61/61] meson.build: Check for F16C on 32-bit Visual Studio
- Date: Mon, 12 Apr 2021 10:13:27 +0000 (UTC)
commit efdeb278f54f6250c652ac8a66cd59ecd76f2bcd
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Apr 12 17:58:46 2021 +0800
meson.build: Check for F16C on 32-bit Visual Studio
It is also possible to enable F16C instructions on 32-bit Visual Studio builds,
so also check for the compiler's ability to build F16C code on Visual Studio
32-bit instead of just bailing out.
meson.build | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 902bd72031..26cda67aba 100644
--- a/meson.build
+++ b/meson.build
@@ -692,10 +692,8 @@ if get_option('f16c').enabled()
# if !defined(__amd64__) && !defined(__x86_64__)
# error "F16C intrinsics are only available on x86_64"
# endif
-#elif defined (_MSC_VER) && !defined (_M_X64) && !defined (_M_AMD64)
-# error "F16C intrinsics not supported on x86 MSVC builds"
#endif
-#if defined(__SSE__) || (_M_X64 > 0)
+#if defined(__SSE__) || defined(_MSC_VER)
# include <immintrin.h>
#else
# error "No F16C intrinsics available"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]