mirror of https://gitee.com/openkylin/qemu.git
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
This commit is contained in:
parent
101c593562
commit
c98baaac2f
|
@ -28,7 +28,7 @@
|
||||||
#define tostring(s) #s
|
#define tostring(s) #s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if GCC_MAJOR < 3
|
#if __GNUC__ < 3
|
||||||
#define __builtin_expect(x, n) (x)
|
#define __builtin_expect(x, n) (x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ int tlb_set_page(CPUState *env, target_ulong vaddr,
|
||||||
#elif defined(__powerpc__)
|
#elif defined(__powerpc__)
|
||||||
#define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024)
|
#define CODE_GEN_BUFFER_SIZE (6 * 1024 * 1024)
|
||||||
#else
|
#else
|
||||||
#define CODE_GEN_BUFFER_SIZE (8 * 1024 * 1024)
|
#define CODE_GEN_BUFFER_SIZE (16 * 1024 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define CODE_GEN_BUFFER_SIZE (128 * 1024)
|
//#define CODE_GEN_BUFFER_SIZE (128 * 1024)
|
||||||
|
|
Loading…
Reference in New Issue