commit | 2cf199cbbdcd71c570d794d1d6f38e4101515021 | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Fri May 20 10:45:32 2016 -0500 |
committer | DRC <information@libjpeg-turbo.org> | Tue May 31 22:54:38 2016 -0500 |
tree | 2b9e1516ea5edbaecfa873bf5f86f7b84c2f360e | |
parent | 16b121890c37f0054a662949cd17af6baef993f9 [diff] [blame] |
Lay the groundwork for 64-bit AVX2 SIMD support
diff --git a/jmemmgr.c b/jmemmgr.c index 9174ad3..7f6b149 100644 --- a/jmemmgr.c +++ b/jmemmgr.c
@@ -85,7 +85,9 @@ #ifndef WITH_SIMD #define ALIGN_SIZE sizeof(double) #else -#define ALIGN_SIZE 16 /* Most SIMD implementations require this */ +#define ALIGN_SIZE 32 /* Most of the SIMD instructions we support require + 16-byte (128-bit) alignment, but AVX2 requires + 32-byte alignment. */ #endif #endif