diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 10:58:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 10:58:20 +0000 |
commit | 7c60cc4bcaee6614b7b9a713f974b5d8e536e9c6 (patch) | |
tree | 55302a4dd34deb52516ac63b1b60ef067fdb649f /target-sparc/op_helper.c | |
parent | 7cb69cae2053e0fbba5b9ac50bd31bd1a4f8f8cb (diff) | |
download | hqemu-7c60cc4bcaee6614b7b9a713f974b5d8e536e9c6.zip hqemu-7c60cc4bcaee6614b7b9a713f974b5d8e536e9c6.tar.gz |
suppressed fixed registers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4408 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r-- | target-sparc/op_helper.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 825145b..9f83e00 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -2189,33 +2189,6 @@ uint64_t helper_pack64(target_ulong high, target_ulong low) #define ADDR(x) (x) #endif -#ifdef __i386__ -void helper_std_i386(target_ulong addr, int mem_idx) -{ - uint64_t tmp = ((uint64_t)env->t1 << 32) | (uint64_t)(env->t2 & 0xffffffff); - -#if !defined(CONFIG_USER_ONLY) - switch (mem_idx) { - case 0: - stq_user(ADDR(addr), tmp); - break; - case 1: - stq_kernel(ADDR(addr), tmp); - break; -#ifdef TARGET_SPARC64 - case 2: - stq_hypv(ADDR(addr), tmp); - break; -#endif - default: - break; - } -#else - stq_raw(ADDR(addr), tmp); -#endif -} -#endif /* __i386__ */ - void helper_stdf(target_ulong addr, int mem_idx) { #if !defined(CONFIG_USER_ONLY) @@ -2894,7 +2867,7 @@ void tlb_fill(target_ulong addr, int is_write, int mmu_idx, void *retaddr) if (tb) { /* the PC is inside the translated code. It means that we have a virtual CPU fault */ - cpu_restore_state(tb, env, pc, (void *)T2); + cpu_restore_state(tb, env, pc, (void *)env->cond); } } cpu_loop_exit(); |