target/sh4: get rid of DELAY_SLOT_CLEARME
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 1 May 2017 21:20:43 +0000 (23:20 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 13 May 2017 09:17:29 +0000 (11:17 +0200)
commit39682608111713404b53ade46edc87a7f85a0f12
tree04d47fd8674a5ddd4d307173334438295cfaf19d
parenta6215749dc299214642b3dfd690227243606331f
target/sh4: get rid of DELAY_SLOT_CLEARME

Now that ctx->flags has been split, it becomes clear that
DELAY_SLOT_CLEARME has not impact on the code generation: in both case
ctx->envflags is cleared, either by clearing all the flags, or by
setting it to 0. This is left-over from pre-TCG era.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target/sh4/cpu.h
target/sh4/helper.c
target/sh4/translate.c