32 |
#define EMMS() __asm {emms} |
#define EMMS() __asm {emms} |
33 |
|
|
34 |
#define CACHE_LINE 16 |
#define CACHE_LINE 16 |
35 |
|
#if _MSC_VER <= 1200 |
36 |
|
#define CACHE_ALIGN |
37 |
|
#else |
38 |
#define CACHE_ALIGN __declspec(align(CACHE_LINE)) |
#define CACHE_ALIGN __declspec(align(CACHE_LINE)) |
39 |
|
#endif |
40 |
|
|
41 |
// needed for bitstream.h |
// needed for bitstream.h |
42 |
#define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax |
#define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax |
78 |
#endif |
#endif |
79 |
|
|
80 |
#define CACHE_LINE 16 |
#define CACHE_LINE 16 |
81 |
#define CACHE_ALIGN |
#define CACHE_ALIGN __attribute__ ((__aligned__(CACHE_LINE))) |
82 |
|
|
83 |
|
|
84 |
#if defined(LINUX) |
#if defined(LINUX) |
85 |
|
|