diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 23:01:41 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 23:01:41 +0000 |
commit | e6afc2f4b9a93403b20cad9cecb05478f9067ea2 (patch) | |
tree | 81b1a2834472096044de1ed16e6888e9652222f5 /target-sh4/op.c | |
parent | 1000822b03f44cc0b0e624cd60e5dce8dde7d463 (diff) |
SH4: convert a few helpers to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5112 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/op.c')
-rw-r--r-- | target-sh4/op.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c index 687bded959..d6bb5203b8 100644 --- a/target-sh4/op.c +++ b/target-sh4/op.c @@ -37,12 +37,6 @@ static inline void cond_t(int cond) clr_t(); } -void OPPROTO op_ldtlb(void) -{ - helper_ldtlb(); - RETURN(); -} - void OPPROTO op_frchg(void) { env->fpscr ^= FPSCR_FR; @@ -178,14 +172,6 @@ void OPPROTO op_subv_T0_T1(void) RETURN(); } -void OPPROTO op_trapa(void) -{ - env->tra = PARAM1 << 2; - env->exception_index = 0x160; - do_raise_exception(); - RETURN(); -} - void OPPROTO op_ldcl_rMplus_rN_bank(void) { env->gregs[PARAM2] = env->gregs[PARAM1]; @@ -491,33 +477,6 @@ void OPPROTO op_movl_FT0_fpul(void) RETURN(); } -void OPPROTO op_raise_illegal_instruction(void) -{ - env->exception_index = 0x180; - do_raise_exception(); - RETURN(); -} - -void OPPROTO op_raise_slot_illegal_instruction(void) -{ - env->exception_index = 0x1a0; - do_raise_exception(); - RETURN(); -} - -void OPPROTO op_debug(void) -{ - env->exception_index = EXCP_DEBUG; - cpu_loop_exit(); -} - -void OPPROTO op_sleep(void) -{ - env->halted = 1; - env->exception_index = EXCP_HLT; - cpu_loop_exit(); -} - /* Load and store */ #define MEMSUFFIX _raw #include "op_mem.c" |