[PATCH] D41376: [libcxx] Implement <simd> ABI for Clang/GCC vector extension, constructors, copy_from and copy_to.
Tim Shen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 18 18:10:51 PST 2017
timshen created this revision.
timshen added reviewers: mclow.lists, EricWF.
Herald added a subscriber: sanjoy.
This patch added a new macro _LIBCPP_HAS_VECTOR_EXTENSION for detecting
whether a vector extension (__attribute__((vector_size(num_bytes)))) is
This patch also backports std::integer_sequence to C++11.
On the top of that, this patch implements the following API:
- all constructors
It also defines simd_abi::native to use vector extension, if available.
In GCC and Clang, certain values with vector extension are passed by registers,
instead of memory.
Based on https://reviews.llvm.org/D41148.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 35775 bytes
Desc: not available
More information about the cfe-commits