target/sh4: fetch code with translator_ld
authorEmilio G. Cota <cota@braap.org>
Sat, 8 Dec 2018 02:02:38 +0000 (21:02 -0500)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2019 15:12:38 +0000 (15:12 +0000)
commitda94123fe1803bc9bc0cc38720224efe4b1a9491
tree6e103d00054ce24218286964ae9ad27b8950b155
parent23f42b6053442bf3596ed0f0b4105374d7b4628b
target/sh4: fetch code with translator_ld

There is a small wrinkle with the gUSA instruction. The translator
effectively treats a (known) gUSA sequence as a single instruction.
For the purposes of the plugin we end up with a long multi-instruction
qemu_plugin_insn.

If the known sequence isn't detected we shall never run this
translation anyway.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
target/sh4/translate.c