From e755699dc7d198c7ac31a73c9b8f45595129f44f Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 7 Apr 2008 21:00:51 +0000 Subject: Always enable precise emulation when softfloat is used The patch below changes the way to enable softfloat on the PPC target. It is now enabled when softfloat is used. The rationale behind this change is that persons who want precise emulation prefer precision over emulation speed. Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4168 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/op_helper.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target-ppc/op_helper.h') diff --git a/target-ppc/op_helper.h b/target-ppc/op_helper.h index 1d5fc0a252..0510f0ab98 100644 --- a/target-ppc/op_helper.h +++ b/target-ppc/op_helper.h @@ -98,7 +98,7 @@ void do_compute_fprf (int set_class); #ifdef CONFIG_SOFTFLOAT void do_float_check_status (void); #endif -#if USE_PRECISE_EMULATION +#ifdef CONFIG_SOFTFLOAT void do_fadd (void); void do_fsub (void); void do_fmul (void); @@ -109,13 +109,13 @@ void do_fre (void); void do_fres (void); void do_frsqrte (void); void do_fsel (void); -#if USE_PRECISE_EMULATION +#ifdef CONFIG_SOFTFLOAT void do_fmadd (void); void do_fmsub (void); #endif void do_fnmadd (void); void do_fnmsub (void); -#if USE_PRECISE_EMULATION +#ifdef CONFIG_SOFTFLOAT void do_frsp (void); #endif void do_fctiw (void); -- cgit v1.2.3