1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: c++98, c++03, c++11, c++14
12 // <experimental/simd>
15 // template <class T, size_t N> struct abi_for_size { using type = see below ;
16 // }; template <class T, size_t N> using ex::abi_for_size_t = typename
17 // ex::abi_for_size<T, N>::type;
20 #include <experimental/simd>
22 namespace ex = std::experimental::parallelism_v2;
24 static_assert(std::is_same<typename ex::abi_for_size<int, 4>::type,
25 ex::simd_abi::fixed_size<4>>::value,
28 static_assert(std::is_same<ex::abi_for_size_t<int, 4>,
29 ex::simd_abi::fixed_size<4>>::value,