target-mips: Add TLB refill handler optimisation
Emulating each instruction of the software refill handler
has a significant impact on the overall performance of QEMU because
of the overhead of emulating the various CP0 instructions to accurately
reflect the machine state.
This patch implements a pseudo hardware TLB refill handler
that significantly reduces the impact of refilling the TLB
to bring it more inline with what would be observed on a real target.
Change-Id: I0892e4fa1aa81253da1c363bcefcdf9ff6e4d4e3
2 files changed