0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd: Remove gratuitous alignment attributes.

This commit is contained in:
Jason Volk 2023-01-15 16:37:26 -08:00
parent cbfbe51c35
commit dbf9407442
2 changed files with 6 additions and 7 deletions

View file

@ -75,11 +75,11 @@
namespace ircd
{
#if defined(HAVE___INT128_T) && defined(HAVE__UINT128_T)
using int128_t = __int128_t __attribute__((aligned(16)));
using uint128_t = __uint128_t __attribute__((aligned(16)));
using int128_t = __int128_t;
using uint128_t = __uint128_t;
#elif defined(HAVE___INT128)
using int128_t = signed __int128 __attribute__((aligned(16)));
using uint128_t = unsigned __int128 __attribute__((aligned(16)));
using int128_t = signed __int128;
using uint128_t = unsigned __int128;
#else
#error "Missing 128 bit integer types on this platform."
#endif

View file

@ -44,8 +44,7 @@ namespace ircd \
{ \
namespace simd \
{ \
using _T_ = _U_ \
__attribute__((aligned((_V_)))); \
using _T_ = _U_; \
\
template<> \
constexpr size_t sizeof_lane<_T_, _U_>() \
@ -63,7 +62,7 @@ namespace ircd \
namespace simd \
{ \
using _T_ = _U_ \
__attribute__((vector_size((_V_)), aligned((_V_)))); \
__attribute__((vector_size((_V_)))); \
\
template<> \
constexpr size_t sizeof_lane<_T_, _U_>() \