aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/long_mode')
-rw-r--r--src/long_mode/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 74eb5ce..a84dbd9 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -4688,7 +4688,7 @@ impl Prefixes {
* || instruction.prefixes.rep()
* || instruction.prefixes.repnz() {
*/
- (self.bits & 0b1100_1001) > 0 || (self.rex.bits > 0)
+ (self.bits & 0b1100_0101) > 0 || (self.rex.bits > 0)
}
#[inline]
pub fn vex(&self) -> Option<PrefixVex> {