mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target-m68k: add FPCR and FPSR
Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <rth@twiddle.net> Message-Id: <20170620205121.26515-6-laurent@vivier.eu>
This commit is contained in:
parent
5a4526b26a
commit
ba62494483
6 changed files with 421 additions and 119 deletions
|
@ -62,7 +62,7 @@ static void m68k_cpu_reset(CPUState *s)
|
|||
for (i = 0; i < 8; i++) {
|
||||
env->fregs[i].d = nan;
|
||||
}
|
||||
env->fpcr = 0;
|
||||
cpu_m68k_set_fpcr(env, 0);
|
||||
env->fpsr = 0;
|
||||
|
||||
cpu_m68k_set_ccr(env, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue