Searched hist:a6215749dc299214642b3dfd690227243606331f (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/sh4/ |
H A D | translate.c | diff a6215749dc299214642b3dfd690227243606331f Mon May 01 16:20:43 CDT 2017 Aurelien Jarno <aurelien@aurel32.net> target/sh4: split ctx->flags into ctx->tbflags and ctx->envflags
There is a confusion (and not only in the SH4 target) between tb->flags, env->flags and ctx->flags. To avoid it, split ctx->flags into ctx->tbflags and ctx->envflags. ctx->tbflags stays unchanged during the whole TB translation, while ctx->envflags evolves and is kept in sync with env->flags using TCG instructions. ctx->envflags now only contains the part that of env->flags that is contained in the TB state, i.e. the DELAY_SLOT* flags.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|