diff options
Diffstat (limited to 'target-sh4/op.c')
-rw-r--r-- | target-sh4/op.c | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c index 75b53bd24d..69d8e1b66d 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_cmp_eq_imm_T0(void) -{ - cond_t((int32_t) T0 == (int32_t) PARAM1); - RETURN(); -} - void OPPROTO op_bf_s(void) { env->delayed_pc = PARAM1; @@ -144,36 +138,6 @@ void OPPROTO op_addv_T0_T1(void) RETURN(); } -void OPPROTO op_cmp_eq_T0_T1(void) -{ - cond_t(T1 == T0); - RETURN(); -} - -void OPPROTO op_cmp_ge_T0_T1(void) -{ - cond_t((int32_t) T1 >= (int32_t) T0); - RETURN(); -} - -void OPPROTO op_cmp_gt_T0_T1(void) -{ - cond_t((int32_t) T1 > (int32_t) T0); - RETURN(); -} - -void OPPROTO op_cmp_hi_T0_T1(void) -{ - cond_t((uint32_t) T1 > (uint32_t) T0); - RETURN(); -} - -void OPPROTO op_cmp_hs_T0_T1(void) -{ - cond_t((uint32_t) T1 >= (uint32_t) T0); - RETURN(); -} - void OPPROTO op_cmp_str_T0_T1(void) { cond_t((T0 & 0x000000ff) == (T1 & 0x000000ff) || @@ -183,12 +147,6 @@ void OPPROTO op_cmp_str_T0_T1(void) RETURN(); } -void OPPROTO op_tst_T0_T1(void) -{ - cond_t((T1 & T0) == 0); - RETURN(); -} - void OPPROTO op_div0s_T0_T1(void) { if (T1 & 0x80000000) @@ -299,18 +257,6 @@ void OPPROTO op_trapa(void) RETURN(); } -void OPPROTO op_cmp_pl_T0(void) -{ - cond_t((int32_t) T0 > 0); - RETURN(); -} - -void OPPROTO op_cmp_pz_T0(void) -{ - cond_t((int32_t) T0 >= 0); - RETURN(); -} - void OPPROTO op_jmp_T0(void) { env->delayed_pc = T0; @@ -610,18 +556,6 @@ void OPPROTO op_fmov_T0_frN(void) RETURN(); } -void OPPROTO op_dt_rN(void) -{ - cond_t((--env->gregs[PARAM1]) == 0); - RETURN(); -} - -void OPPROTO op_tst_imm_rN(void) -{ - cond_t((env->gregs[PARAM2] & PARAM1) == 0); - RETURN(); -} - void OPPROTO op_movl_fpul_FT0(void) { FT0 = *(float32 *)&env->fpul; @@ -656,12 +590,6 @@ void OPPROTO op_movl_delayed_pc_PC(void) RETURN(); } -void OPPROTO op_tst_imm_T0(void) -{ - cond_t((T0 & PARAM1) == 0); - RETURN(); -} - void OPPROTO op_raise_illegal_instruction(void) { env->exception_index = 0x180; |