mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
target-sh4: Split out T from SR
In preparation for more efficient setting of this field. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
5ed9a259c1
commit
3408694525
5 changed files with 112 additions and 153 deletions
|
@ -162,7 +162,7 @@ void superh_cpu_do_interrupt(CPUState *cs)
|
|||
log_cpu_state(cs, 0);
|
||||
}
|
||||
|
||||
env->ssr = env->sr;
|
||||
env->ssr = cpu_read_sr(env);
|
||||
env->spc = env->pc;
|
||||
env->sgr = env->gregs[15];
|
||||
env->sr |= (1u << SR_BL) | (1u << SR_MD) | (1u << SR_RB);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue