diff options
Diffstat (limited to 'target-ppc/op_template.h')
-rw-r--r-- | target-ppc/op_template.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target-ppc/op_template.h b/target-ppc/op_template.h index 28dc59c942..bdd8844323 100644 --- a/target-ppc/op_template.h +++ b/target-ppc/op_template.h @@ -165,39 +165,6 @@ void OPPROTO glue(op_store_T1_crf_crf, REG) (void) RETURN(); } -/* Floating point condition and status register moves */ -void OPPROTO glue(op_load_fpscr_T0_fpscr, REG) (void) -{ - T0 = env->fpscr[REG]; - RETURN(); -} - -#if REG == 0 -void OPPROTO glue(op_store_T0_fpscr_fpscr, REG) (void) -{ - env->fpscr[REG] = (env->fpscr[REG] & 0x9) | (T0 & ~0x9); - RETURN(); -} - -void OPPROTO glue(op_clear_fpscr_fpscr, REG) (void) -{ - env->fpscr[REG] = (env->fpscr[REG] & 0x9); - RETURN(); -} -#else -void OPPROTO glue(op_store_T0_fpscr_fpscr, REG) (void) -{ - env->fpscr[REG] = T0; - RETURN(); -} - -void OPPROTO glue(op_clear_fpscr_fpscr, REG) (void) -{ - env->fpscr[REG] = 0x0; - RETURN(); -} -#endif - #endif /* REG <= 7 */ /* floating point registers moves */ |