if we don't have a 256/512-bit SIMD engine, there is no need to have 32/64-byte alignment and gcc complains anyway

This commit is contained in:
Konstantinos Margaritis 2024-01-18 00:42:36 +02:00
parent 593299e7bb
commit 9134cd6250

View File

@ -54,13 +54,13 @@ typedef simde__m128i m128;
#if !defined(m256) && !defined(HAVE_SIMD_256_BITS)
typedef struct ALIGN_AVX_DIRECTIVE {m128 lo; m128 hi;} m256;
typedef struct ALIGN_ATTR(16) {m128 lo; m128 hi;} m256;
#endif
typedef struct {m128 lo; m128 mid; m128 hi;} m384;
#if !defined(m512) && !defined(HAVE_SIMD_512_BITS)
typedef struct ALIGN_ATTR(64) {m256 lo; m256 hi;} m512;
typedef struct ALIGN_ATTR(16) {m256 lo; m256 hi;} m512;
#endif
#endif /* SIMD_TYPES_H */