diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-29 21:26:53 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-29 21:26:53 +0000 |
commit | d014c98c8dce88c3b6cc19bd2e0e558900f5c1d0 (patch) | |
tree | 89cb45f50dcf91a6445f6aa312cd8ac24136705c /exec-i386.h | |
parent | a98fd896cdcab506e734de7555304da16e775277 (diff) |
sparc support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@119 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-i386.h')
-rw-r--r-- | exec-i386.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/exec-i386.h b/exec-i386.h index b4f5a0013f..4f7f4ceb32 100644 --- a/exec-i386.h +++ b/exec-i386.h @@ -93,6 +93,7 @@ register unsigned int T0 asm("l0"); register unsigned int T1 asm("l1"); register unsigned int A0 asm("l2"); register struct CPUX86State *env asm("l3"); +#define USE_FP_CONVERT #endif #ifdef __s390__ register unsigned int T0 asm("r7"); @@ -160,6 +161,10 @@ register struct CPUX86State *env asm("r27"); #define ST(n) (env->fpregs[(env->fpstt + (n)) & 7]) #define ST1 ST(1) +#ifdef USE_FP_CONVERT +#define FP_CONVERT (env->fp_convert) +#endif + extern int __op_param1, __op_param2, __op_param3; #define PARAM1 ((long)(&__op_param1)) #define PARAM2 ((long)(&__op_param2)) |