mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
More efficient target register / TC accesses.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4794 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a37ee56cb7
commit
b5dc7732e1
16 changed files with 327 additions and 246 deletions
|
@ -3686,7 +3686,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
|||
if (!is_error(ret)) {
|
||||
#if defined(TARGET_MIPS)
|
||||
CPUMIPSState *env = (CPUMIPSState*)cpu_env;
|
||||
env->gpr[env->current_tc][3] = host_pipe[1];
|
||||
env->active_tc.gpr[3] = host_pipe[1];
|
||||
ret = host_pipe[0];
|
||||
#elif defined(TARGET_SH4)
|
||||
((CPUSH4State*)cpu_env)->gregs[1] = host_pipe[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue