The main motivation for patches 2 and 3 was to move TLB handling closer to TCG. I'll send a different patch set which does this but the improvement didn't look very promising.
Blue Swirl (3): Use uintptr_t for various op related functions cputlb: move TLB handling to a separate file memory: move RAM test functions to memory Makefile.target | 2 +- cpu-all.h | 2 - cpu-defs.h | 4 +- cputlb.c | 359 ++++++++++++++++++++++++++++ cputlb.h | 45 ++++ exec-all.h | 22 +- exec.c | 520 +++++++---------------------------------- memory.h | 53 +++++ softmmu_template.h | 20 +- target-alpha/cpu.h | 6 +- target-alpha/fpu_helper.c | 6 +- target-alpha/helper.c | 13 +- target-alpha/mem_helper.c | 6 +- target-arm/op_helper.c | 8 +- target-cris/op_helper.c | 12 +- target-i386/op_helper.c | 8 +- target-lm32/op_helper.c | 8 +- target-m68k/op_helper.c | 8 +- target-microblaze/op_helper.c | 8 +- target-mips/op_helper.c | 18 +- target-ppc/op_helper.c | 8 +- target-s390x/op_helper.c | 8 +- target-sh4/op_helper.c | 14 +- target-sparc/cpu.h | 2 +- target-sparc/ldst_helper.c | 12 +- target-xtensa/op_helper.c | 9 +- user-exec.c | 2 +- 27 files changed, 639 insertions(+), 544 deletions(-) create mode 100644 cputlb.c create mode 100644 cputlb.h -- 1.7.10