[PATCH] D41756: [libcxx] implement <experimental/simd> simd_mask<> casts and some horizontal operations.

Tim Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 18:22:44 PST 2018


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

popcount is implemented in terms of for loop. On x86, it can be specialized to _mm_movemask_* + __builtin_popcountll() in the future.


https://reviews.llvm.org/D41756

Files:
  libcxx/include/experimental/simd
  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
  libcxx/test/std/experimental/simd/simd.horizontal/concat.pass.cpp
  libcxx/test/std/experimental/simd/simd.horizontal/mask.pass.cpp
  libcxx/test/std/experimental/simd/simd.horizontal/split.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41756.128705.patch
Type: text/x-patch
Size: 30418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180105/8a75f4fe/attachment-0001.bin>


More information about the cfe-commits mailing list