[libcxx-commits] [PATCH] D153319: [libcxx] <experimental/simd> Added aliagned flag types, traits is_simd_flag_type[_v], memory_alignment[_v] and related tests
Yin Zhang via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 13 01:31:54 PDT 2023
Joy12138 added inline comments.
================
Comment at: libcxx/test/std/experimental/simd/simd.traits/memory_alignment.pass.cpp:38-39
+ if constexpr (std::is_same_v<T, long double>) {
+ // The size of long double is platform-specific. For instance, on i686-w64-mingw32-clang++,
+ // the size of long double is 12 bytes. Hence, disambiguation is needed.
+ static_assert(
----------------
philnik wrote:
> I think this is technically also the case for `float` and `double`. It just happens to be the case that they are the IEEE types on about every platform.
is there any other modify required here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153319/new/
https://reviews.llvm.org/D153319
More information about the libcxx-commits
mailing list