--- trunk/xvidcore/src/portab.h 2002/03/16 22:28:37 37 +++ trunk/xvidcore/src/portab.h 2002/03/20 14:02:59 42 @@ -31,6 +31,9 @@ #define EMMS() __asm {emms} +#define CACHE_LINE 16 +#define CACHE_ALIGN __declspec(align(CACHE_LINE)) + // needed for bitstream.h #define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax @@ -70,6 +73,9 @@ #define DEBUG8(X,A,B,C,D,E,F,G,H) #endif +#define CACHE_LINE 16 +#define CACHE_ALIGN + #if defined(LINUX) #include @@ -126,6 +132,9 @@ return 0; } +#define CACHE_LINE 16 +#define CACHE_ALIGN + #endif #endif // _PORTAB_H_