aboutsummaryrefslogtreecommitdiff
path: root/cpu-i386.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-05 22:24:48 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-05 22:24:48 +0000
commit77f8dd5add8f02253dcea1454c9d2c76d7c788a7 (patch)
treefbe97a8744410aa6c8857f882b6497ba341943bd /cpu-i386.h
parentc5e9815da4e67d42d2a0f8dce4282e8e6d691b88 (diff)
float fixes - added bsr/bsf support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@23 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-i386.h')
-rw-r--r--cpu-i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu-i386.h b/cpu-i386.h
index c245466630..ae49fffd04 100644
--- a/cpu-i386.h
+++ b/cpu-i386.h
@@ -114,7 +114,7 @@ enum {
};
#ifdef __i386__
-#define USE_X86LDOUBLE
+//#define USE_X86LDOUBLE
#endif
#ifdef USE_X86LDOUBLE
@@ -201,7 +201,7 @@ static inline void stl(void *ptr, int v)
*(uint32_t *)ptr = v;
}
-static inline void stq(void *ptr, int v)
+static inline void stq(void *ptr, uint64_t v)
{
*(uint64_t *)ptr = v;
}