diff options
Diffstat (limited to 'target-sh4/op.c')
-rw-r--r-- | target-sh4/op.c | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c index 69d8e1b66d..687bded959 100644 --- a/target-sh4/op.c +++ b/target-sh4/op.c @@ -37,70 +37,6 @@ static inline void cond_t(int cond) clr_t(); } -void OPPROTO op_bf_s(void) -{ - env->delayed_pc = PARAM1; - if (!(env->sr & SR_T)) { - env->flags |= DELAY_SLOT_TRUE; - } - RETURN(); -} - -void OPPROTO op_bt_s(void) -{ - env->delayed_pc = PARAM1; - if (env->sr & SR_T) { - env->flags |= DELAY_SLOT_TRUE; - } - RETURN(); -} - -void OPPROTO op_store_flags(void) -{ - env->flags &= DELAY_SLOT_TRUE; - env->flags |= PARAM1; - RETURN(); -} - -void OPPROTO op_bra(void) -{ - env->delayed_pc = PARAM1; - RETURN(); -} - -void OPPROTO op_braf_T0(void) -{ - env->delayed_pc = PARAM1 + T0; - RETURN(); -} - -void OPPROTO op_bsr(void) -{ - env->pr = PARAM1; - env->delayed_pc = PARAM2; - RETURN(); -} - -void OPPROTO op_bsrf_T0(void) -{ - env->pr = PARAM1; - env->delayed_pc = PARAM1 + T0; - RETURN(); -} - -void OPPROTO op_jsr_T0(void) -{ - env->pr = PARAM1; - env->delayed_pc = T0; - RETURN(); -} - -void OPPROTO op_rts(void) -{ - env->delayed_pc = env->pr; - RETURN(); -} - void OPPROTO op_ldtlb(void) { helper_ldtlb(); @@ -119,13 +55,6 @@ void OPPROTO op_fschg(void) RETURN(); } -void OPPROTO op_rte(void) -{ - env->sr = env->ssr; - env->delayed_pc = env->spc; - RETURN(); -} - void OPPROTO op_addc_T0_T1(void) { helper_addc_T0_T1(); @@ -257,12 +186,6 @@ void OPPROTO op_trapa(void) RETURN(); } -void OPPROTO op_jmp_T0(void) -{ - env->delayed_pc = T0; - RETURN(); -} - void OPPROTO op_ldcl_rMplus_rN_bank(void) { env->gregs[PARAM2] = env->gregs[PARAM1]; @@ -568,28 +491,6 @@ void OPPROTO op_movl_FT0_fpul(void) RETURN(); } -void OPPROTO op_jT(void) -{ - if (env->sr & SR_T) - GOTO_LABEL_PARAM(1); - RETURN(); -} - -void OPPROTO op_jdelayed(void) -{ - if (env->flags & DELAY_SLOT_TRUE) { - env->flags &= ~DELAY_SLOT_TRUE; - GOTO_LABEL_PARAM(1); - } - RETURN(); -} - -void OPPROTO op_movl_delayed_pc_PC(void) -{ - env->pc = env->delayed_pc; - RETURN(); -} - void OPPROTO op_raise_illegal_instruction(void) { env->exception_index = 0x180; |