aboutsummaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-02 13:31:24 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-02 13:31:24 +0000
commitc98baaac2fb3ff80412f7968694ec41c800aea22 (patch)
tree1eee49f9aba1564fb1c781c53a443c28c98ceb24 /exec-all.h
parent101c59356292c30ed5c8f7138c7680b4dc3d4811 (diff)
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
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec-all.h b/exec-all.h
index 4579da9f64..183df1faae 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -28,7 +28,7 @@
#define tostring(s) #s
#endif
-#if GCC_MAJOR < 3
+#if __GNUC__ < 3
#define __builtin_expect(x, n) (x)
#endif
@@ -131,7 +131,7 @@ int tlb_set_page(CPUState *env, target_ulong vaddr,
#elif defined(__powerpc__)
#define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024)
#else
-#define CODE_GEN_BUFFER_SIZE (8 * 1024 * 1024)
+#define CODE_GEN_BUFFER_SIZE (16 * 1024 * 1024)
#endif
//#define CODE_GEN_BUFFER_SIZE (128 * 1024)