Commit c98baaac2fb3ff80412f7968694ec41c800aea22

Authored by bellard
1 parent 101c5935

correct __builtin_expect definition - increased code gen buffer size for x86


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1459 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
exec-all.h
... ... @@ -28,7 +28,7 @@
28 28 #define tostring(s) #s
29 29 #endif
30 30  
31   -#if GCC_MAJOR < 3
  31 +#if __GNUC__ < 3
32 32 #define __builtin_expect(x, n) (x)
33 33 #endif
34 34  
... ... @@ -131,7 +131,7 @@ int tlb_set_page(CPUState *env, target_ulong vaddr,
131 131 #elif defined(__powerpc__)
132 132 #define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024)
133 133 #else
134   -#define CODE_GEN_BUFFER_SIZE (8 * 1024 * 1024)
  134 +#define CODE_GEN_BUFFER_SIZE (16 * 1024 * 1024)
135 135 #endif
136 136  
137 137 //#define CODE_GEN_BUFFER_SIZE (128 * 1024)
... ...