mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
target-mips: optimize gen_compute_branch()
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6936 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
92e9044304
commit
1ba74fb8f1
3 changed files with 48 additions and 51 deletions
|
|
@ -91,7 +91,8 @@ void cpu_save(QEMUFile *f, void *opaque)
|
|||
qemu_put_sbe32s(f, &env->error_code);
|
||||
qemu_put_be32s(f, &env->hflags);
|
||||
qemu_put_betls(f, &env->btarget);
|
||||
qemu_put_sbe32s(f, &env->bcond);
|
||||
i = env->bcond;
|
||||
qemu_put_sbe32s(f, &i);
|
||||
|
||||
/* Save remaining CP1 registers */
|
||||
qemu_put_sbe32s(f, &env->CP0_Index);
|
||||
|
|
@ -240,7 +241,8 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
|
|||
qemu_get_sbe32s(f, &env->error_code);
|
||||
qemu_get_be32s(f, &env->hflags);
|
||||
qemu_get_betls(f, &env->btarget);
|
||||
qemu_get_sbe32s(f, &env->bcond);
|
||||
qemu_get_sbe32s(f, &i);
|
||||
env->bcond = i;
|
||||
|
||||
/* Load remaining CP1 registers */
|
||||
qemu_get_sbe32s(f, &env->CP0_Index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue