summaryrefslogtreecommitdiff
path: root/i386/i386/fpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/fpu.h')
-rw-r--r--i386/i386/fpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/fpu.h b/i386/i386/fpu.h
index 4050cce4..3c5b73c5 100644
--- a/i386/i386/fpu.h
+++ b/i386/i386/fpu.h
@@ -121,7 +121,7 @@ static inline void set_xcr0(uint64_t value) {
if (ifps != 0 && !ifps->fp_valid) { \
/* registers are in FPU - save to memory */ \
ifps->fp_valid = TRUE; \
- if (fp_kind == FP_387X) \
+ if (fp_kind == FP_387FX) \
fxsave(&ifps->xfp_save_state); \
else \
fnsave(&ifps->fp_save_state); \