cputlb: Move TLB_RECHECK handling into load/store_helper
commitf1be36969de2fb9b6b64397db1098f115210fcd9
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 25 Apr 2019 21:16:34 +0000 (25 14:16 -0700)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 10 May 2019 19:23:21 +0000 (10 20:23 +0100)
tree2d45003d681c1d2725dbb4d998aef2a11287686f
parenteed5664238ea5317689cf32426d9318686b2b75c
cputlb: Move TLB_RECHECK handling into load/store_helper

Having this in io_readx/io_writex meant that we forgot to
re-compute index after tlb_fill.  It also means we can use
the normal aligned memory load path.  It also fixes a bug
in that we had cached a use of index across a tlb_fill.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
accel/tcg/cputlb.c