mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
target/openrisc: Implement move to/from FPCSR
Reviewed-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
2b13b4b93d
commit
a465772eea
5 changed files with 39 additions and 6 deletions
|
@ -55,6 +55,7 @@ static void openrisc_cpu_reset(CPUState *s)
|
|||
cpu->env.sr = SR_FO | SR_SM;
|
||||
cpu->env.lock_addr = -1;
|
||||
s->exception_index = -1;
|
||||
cpu_set_fpcsr(&cpu->env, 0);
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
cpu->env.picmr = 0x00000000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue