diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-04 18:06:03 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-04 18:06:03 +0000 |
commit | bd568f1849220f67d187adbc67f968febd986bd7 (patch) | |
tree | 6b689a252b0be25d15a957def8c5a6d0aa6dfdde /target-ppc/op.c | |
parent | d38ff48941948aa607972d9765d7c8567fe86c74 (diff) |
ppc: Convert nip moves to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5160 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r-- | target-ppc/op.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c index a31b41fd7d..70c2a1309f 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -46,20 +46,6 @@ void OPPROTO op_raise_exception_err (void) do_raise_exception_err(PARAM1, PARAM2); } -void OPPROTO op_update_nip (void) -{ - env->nip = (uint32_t)PARAM1; - RETURN(); -} - -#if defined(TARGET_PPC64) -void OPPROTO op_update_nip_64 (void) -{ - env->nip = ((uint64_t)PARAM1 << 32) | (uint64_t)PARAM2; - RETURN(); -} -#endif - void OPPROTO op_debug (void) { do_raise_exception(EXCP_DEBUG); @@ -465,8 +451,6 @@ void OPPROTO op_store_fpscr (void) } /* Branch */ -#define EIP env->nip - void OPPROTO op_setlr (void) { env->lr = (uint32_t)PARAM1; @@ -481,20 +465,6 @@ void OPPROTO op_setlr_64 (void) } #endif -void OPPROTO op_b_T1 (void) -{ - env->nip = (uint32_t)(T1 & ~3); - RETURN(); -} - -#if defined (TARGET_PPC64) -void OPPROTO op_b_T1_64 (void) -{ - env->nip = (uint64_t)(T1 & ~3); - RETURN(); -} -#endif - void OPPROTO op_jz_T0 (void) { if (!T0) |