commit | 7311830680380376cfa374c2cf2bf3813aabe2c1 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Mon Mar 09 13:30:47 2009 +0000 |
committer | Pierre Ossman <ossman@cendio.se> | Mon Mar 09 13:30:47 2009 +0000 |
tree | 439ade14bdb6106b46f12fb17e1c798420f18f9b | |
parent | 35c47196386075fa66edae11470a3a4989c3ddc8 [diff] [blame] |
Most SIMD implementations need 16 byte alignment git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@20 632fc199-4ca6-4c93-a231-07263d6284db
diff --git a/jmemmgr.c b/jmemmgr.c index 5b33567..058a115 100644 --- a/jmemmgr.c +++ b/jmemmgr.c
@@ -70,7 +70,11 @@ */ #ifndef ALIGN_SIZE /* so can override from jconfig.h */ +#ifndef WITH_SIMD #define ALIGN_SIZE SIZEOF(double) +#else +#define ALIGN_SIZE 16 /* Most SIMD implementations require this */ +#endif #endif /*