126 |
|
|
127 |
#if defined(__alpha__) |
#if defined(__alpha__) |
128 |
#define CODE_GEN_BUFFER_SIZE (2 * 1024 * 1024) |
#define CODE_GEN_BUFFER_SIZE (2 * 1024 * 1024) |
129 |
|
#elif defined(__ia64) |
130 |
|
#define CODE_GEN_BUFFER_SIZE (4 * 1024 * 1024) /* range of addl */ |
131 |
#elif defined(__powerpc__) |
#elif defined(__powerpc__) |
132 |
#define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024) |
#define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024) |
133 |
#else |
#else |
489 |
} |
} |
490 |
#endif |
#endif |
491 |
|
|
492 |
|
#ifdef __ia64 |
493 |
|
#include <ia64intrin.h> |
494 |
|
|
495 |
|
static inline int testandset (int *p) |
496 |
|
{ |
497 |
|
return __sync_lock_test_and_set (p, 1); |
498 |
|
} |
499 |
|
#endif |
500 |
|
|
501 |
typedef int spinlock_t; |
typedef int spinlock_t; |
502 |
|
|
503 |
#define SPIN_LOCK_UNLOCKED 0 |
#define SPIN_LOCK_UNLOCKED 0 |