Revision 664e0f19 target-i386/exec.h

b/target-i386/exec.h
131 131

  
132 132
/* float macros */
133 133
#define FT0    (env->ft0)
134
#define ST0    (env->fpregs[env->fpstt])
135
#define ST(n)  (env->fpregs[(env->fpstt + (n)) & 7])
134
#define ST0    (env->fpregs[env->fpstt].d)
135
#define ST(n)  (env->fpregs[(env->fpstt + (n)) & 7].d)
136 136
#define ST1    ST(1)
137 137

  
138 138
#ifdef USE_FP_CONVERT
......
459 459
    return temp.d;
460 460
}
461 461

  
462
static inline void helper_fstt(CPU86_LDouble f, uint8_t *ptr)
462
static inline void helper_fstt(CPU86_LDouble f, target_ulong ptr)
463 463
{
464 464
    CPU86_LDoubleU temp;
465 465
    int e;
......
557 557
void helper_fxrstor(target_ulong ptr, int data64);
558 558
void restore_native_fp_state(CPUState *env);
559 559
void save_native_fp_state(CPUState *env);
560
float approx_rsqrt(float a);
561
float approx_rcp(float a);
562
int fpu_isnan(double a);
560 563

  
561 564
extern const uint8_t parity_table[256];
562 565
extern const uint8_t rclw_table[32];

Also available in: Unified diff