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
This commit is contained in:
@@ -70,7 +70,11 @@ extern char * getenv JPP((const char * name));
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIGN_SIZE /* so can override from jconfig.h */
|
#ifndef ALIGN_SIZE /* so can override from jconfig.h */
|
||||||
|
#ifndef WITH_SIMD
|
||||||
#define ALIGN_SIZE SIZEOF(double)
|
#define ALIGN_SIZE SIZEOF(double)
|
||||||
|
#else
|
||||||
|
#define ALIGN_SIZE 16 /* Most SIMD implementations require this */
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user