[libcxx-commits] [PATCH] D159509: [libcxx] <experimental/simd> Fix CI errors on 32-bits x86

Yin Zhang via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 12 22:31:10 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/D159509

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 on 32-bit 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: D159509.556624.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230913/01c362b3/attachment-0001.bin>


More information about the libcxx-commits mailing list