]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Revert "if we don't have a 256/512-bit SIMD engine, there is no need to have 32/64...
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Fri, 19 Jan 2024 13:23:11 +0000 (15:23 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Fri, 19 Jan 2024 13:23:11 +0000 (15:23 +0200)
This reverts commit 9134cd6250f47034e15ef42981a3257ae4e3d506.

src/util/simd_types.h

index 68fde3b74639c5ee0afc346266ec7fd45fbfdbc6..e393d081a9b2f22913af446f7e007d91fdde32df 100644 (file)
@@ -54,13 +54,13 @@ typedef simde__m128i m128;
 
 
 #if !defined(m256) && !defined(HAVE_SIMD_256_BITS)
-typedef struct ALIGN_ATTR(16) {m128 lo; m128 hi;} m256;
+typedef struct ALIGN_AVX_DIRECTIVE {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(16) {m256 lo; m256 hi;} m512;
+typedef struct ALIGN_ATTR(64) {m256 lo; m256 hi;} m512;
 #endif
 
 #endif /* SIMD_TYPES_H */