[PATCH] D41415: [libcxx] implement <experimental/simd> casts.

Tim Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 19 14:48:00 PST 2017


timshen created this revision.
timshen added reviewers: mclow.lists, EricWF.
Herald added a subscriber: sanjoy.

This patch also changed all simd size-related types to size_t. Before the
change, as P0214 proposed, they are half-int, half-size_t in different
places. The inconsistency of size types cause to_compatible to fail to
deduce the template arguments.


https://reviews.llvm.org/D41415

Files:
  libcxx/include/experimental/simd
  libcxx/test/std/experimental/simd/simd.casts/simd_cast.pass.cpp
  libcxx/test/std/experimental/simd/simd.casts/static_simd_cast.pass.cpp
  libcxx/test/std/experimental/simd/simd.casts/to_compatible.pass.cpp
  libcxx/test/std/experimental/simd/simd.casts/to_fixed_size.pass.cpp
  libcxx/test/std/experimental/simd/simd.casts/to_native.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41415.127605.patch
Type: text/x-patch
Size: 14707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171219/a4cbcd34/attachment-0001.bin>


More information about the cfe-commits mailing list