diff options
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/ops_sse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/ops_sse.h b/target-i386/ops_sse.h index 77ab410b9e..a0bac07ba3 100644 --- a/target-i386/ops_sse.h +++ b/target-i386/ops_sse.h @@ -2050,7 +2050,7 @@ static inline unsigned pcmpxstrx(CPUX86State *env, Reg *d, Reg *s, res ^= (2 << upper) - 1; break; case 3: - res ^= (2 << valids) - 1; + res ^= (1 << (valids + 1)) - 1; break; } |