diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 23:06:17 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 23:06:17 +0000 |
commit | 9951bf39f90519a2a2eb3809eb13a27471b9398d (patch) | |
tree | b57278f408e3c9b8c27c152e2a4fa7dece1f3b96 /target-i386/helper.c | |
parent | 8948b5d6136eb0d338a71f94f5d607dd353c421d (diff) |
fixed long double accesses when using soft MMU
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@428 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 43b8168a1c..1c0920bcf8 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1318,7 +1318,6 @@ void helper_lar(void) /* FPU helpers */ -#ifndef USE_X86LDOUBLE void helper_fldt_ST0_A0(void) { int new_fpstt; @@ -1332,7 +1331,6 @@ void helper_fstt_ST0_A0(void) { helper_fstt(ST0, (uint8_t *)A0); } -#endif /* BCD ops */ @@ -1729,11 +1727,7 @@ void helper_fsave(uint8_t *ptr, int data32) ptr += (14 << data32); for(i = 0;i < 8; i++) { tmp = ST(i); -#ifdef USE_X86LDOUBLE - *(long double *)ptr = tmp; -#else helper_fstt(tmp, ptr); -#endif ptr += 10; } @@ -1760,11 +1754,7 @@ void helper_frstor(uint8_t *ptr, int data32) ptr += (14 << data32); for(i = 0;i < 8; i++) { -#ifdef USE_X86LDOUBLE - tmp = *(long double *)ptr; -#else tmp = helper_fldt(ptr); -#endif ST(i) = tmp; ptr += 10; } |