summaryrefslogtreecommitdiffstats
path: root/contrib/t1ha
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-18 23:47:37 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-18 23:47:37 +0100
commit6f80cd3299aac6b1df9aeb5822080ad6574b3f6e (patch)
tree65403ac52c147a0b9d3150cd94387a5075ca429a /contrib/t1ha
parentc70116611f001ff7990431e2abdc078bec4e4f4b (diff)
downloadrspamd-6f80cd3299aac6b1df9aeb5822080ad6574b3f6e.tar.gz
rspamd-6f80cd3299aac6b1df9aeb5822080ad6574b3f6e.zip
[Fix] Relax alignment requirements
Issue: #2222
Diffstat (limited to 'contrib/t1ha')
-rw-r--r--contrib/t1ha/t1ha.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/t1ha/t1ha.h b/contrib/t1ha/t1ha.h
index 191758c57..3d267838c 100644
--- a/contrib/t1ha/t1ha.h
+++ b/contrib/t1ha/t1ha.h
@@ -218,14 +218,14 @@
#endif /* T1HA_API */
#if defined(_MSC_VER)
-#define T1HA_ALIGN_PREFIX __declspec(align(32)) /* required only for SIMD */
+#define T1HA_ALIGN_PREFIX __declspec(align(16)) /* required only for SIMD */
#else
#define T1HA_ALIGN_PREFIX
#endif /* _MSC_VER */
#if defined(__GNUC__)
#define T1HA_ALIGN_SUFFIX \
- __attribute__((aligned(32))) /* required only for SIMD */
+ __attribute__((aligned(16))) /* required only for SIMD */
#else
#define T1HA_ALIGN_SUFFIX
#endif /* GCC x86 */