aboutsummaryrefslogtreecommitdiffstats
path: root/target-ppc/op_template.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-27 17:54:30 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-27 17:54:30 +0000
commit7c58044c0ab79f11604f71aa04b4691baacef886 (patch)
treeb8a4f5b7e4ab2ada25ced61c0bd05a5d6a49e3f2 /target-ppc/op_template.h
parenta32ff1ad95c4f09420c4b5e19dfd86ded0d2bc79 (diff)
Fix PowerPC FPSCR update and floating-point exception generation
in most useful cases. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3458 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_template.h')
-rw-r--r--target-ppc/op_template.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/target-ppc/op_template.h b/target-ppc/op_template.h
index 28dc59c94..bdd884432 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 */