[libcxx-commits] [PATCH] D159514: [libcxx] <experimental/simd> excluded long double for 32-bits x86 temporarily

Yin Zhang via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 14 04:21:18 PDT 2023


Joy12138 created this revision.
Herald added subscribers: mstorsjo, miyuki.
Herald added a project: All.
Joy12138 requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159514

Files:
  libcxx/test/std/experimental/simd/test_utils.h


Index: libcxx/test/std/experimental/simd/test_utils.h
===================================================================
--- libcxx/test/std/experimental/simd/test_utils.h
+++ libcxx/test/std/experimental/simd/test_utils.h
@@ -40,8 +40,8 @@
   }
 };
 
-// TODO: Support long double (12 bytes) for MinGW (DLL, i686)
-#ifdef __MINGW32__
+// TODO: Support long double (12 bytes) for 32-bits x86
+#if defined(__i386__) || defined(__i686__)
 using arithmetic_no_bool_types = types::concatenate_t<types::integer_types, types::type_list<float, double>>;
 #else
 using arithmetic_no_bool_types = types::concatenate_t<types::integer_types, types::floating_point_types>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159514.556771.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230914/6d8268c6/attachment.bin>


More information about the libcxx-commits mailing list