summary refs log tree commit diff stats
path: root/target-i386/helper.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-05-15 14:09:18 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-06-03 16:07:50 +0200
commitc31da136a0bf8caad70c348f5ffc283206e9c7fc (patch)
tree780e9e820d3c77a7bc89220650702bfd78e8d558 /target-i386/helper.c
parent142ab5bb872337054581d8067906a6541704a5e0 (diff)
downloadfocaccia-qemu-c31da136a0bf8caad70c348f5ffc283206e9c7fc.tar.gz
focaccia-qemu-c31da136a0bf8caad70c348f5ffc283206e9c7fc.zip
target-i386: remove old code handling float64
Now that target-i386 uses softfloat, floatx80 is always available and
there is no need anymore to have code handling both float64 and floax80.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r--target-i386/helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 89df997436..5c4b288619 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -403,15 +403,10 @@ void cpu_dump_state(CPUState *env, FILE *f, fprintf_function cpu_fprintf,
                     fptag,
                     env->mxcsr);
         for(i=0;i<8;i++) {
-#if defined(USE_X86LDOUBLE)
             CPU_LDoubleU u;
             u.d = env->fpregs[i].d;
             cpu_fprintf(f, "FPR%d=%016" PRIx64 " %04x",
                         i, u.l.lower, u.l.upper);
-#else
-            cpu_fprintf(f, "FPR%d=%016" PRIx64,
-                        i, env->fpregs[i].mmx.q);
-#endif
             if ((i & 1) == 1)
                 cpu_fprintf(f, "\n");
             else