On 05/06/2017 04:14 AM, Aurelien Jarno wrote:
Instead of using one bit of the env flags to store the condition of the
next delay slot, use a separate global. It simplifies reading and
writing the flags variable and also removes some confusion between
ctx->envflags and env->flags.

Note that the global is first transfered to a temp in order to be
able to discard the global before the brcond.

Signed-off-by: Aurelien Jarno<aurel...@aurel32.net>
---
  target/sh4/cpu.h       | 10 ++--------
  target/sh4/helper.c    |  2 +-
  target/sh4/translate.c | 22 +++++++++++++---------
  3 files changed, 16 insertions(+), 18 deletions(-)

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~


Reply via email to