diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-08-10 21:39:29 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-09-06 08:04:26 +0100 |
commit | 50627f1b7b1b1db60166a670fbc17623c7d7243e (patch) | |
tree | 055906a47daef7aa9a8bffc040ca2e435094ccb6 /target/s390x/tcg/translate.c | |
parent | 306c872103b4d0986c9f671eb7538b0b70bf69b5 (diff) |
accel/tcg: Add fast path for translator_ld*
Cache the translation from guest to host address, so we may
use direct loads when we hit on the primary translation page.
Look up the second translation page only once, during translation.
This obviates another lookup of the second page within tb_gen_code
after translation.
Fixes a bug in that plugin_insn_append should be passed the bytes
in the original memory order, not bswapped by pieces.
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/s390x/tcg/translate.c')
0 files changed, 0 insertions, 0 deletions