diff options
Diffstat (limited to 'target-i386/mpx_helper.c')
-rw-r--r-- | target-i386/mpx_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/mpx_helper.c b/target-i386/mpx_helper.c index 1bf717af05..8c6c2e7227 100644 --- a/target-i386/mpx_helper.c +++ b/target-i386/mpx_helper.c @@ -35,7 +35,7 @@ void cpu_sync_bndcs_hflags(CPUX86State *env) } if ((env->cr[4] & CR4_OSXSAVE_MASK) - && (env->xcr0 & XSTATE_BNDCSR) + && (env->xcr0 & XSTATE_BNDCSR_MASK) && (bndcsr & BNDCFG_ENABLE)) { hflags |= HF_MPX_EN_MASK; } else { |