diff options
author | iximeow <me@iximeow.net> | 2023-07-08 11:05:09 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-07-08 11:05:09 -0700 |
commit | 0e91fd681efe51cfd2ea5038b4e66316ac8b1b88 (patch) | |
tree | 6db78454c6cfc24acf27791fbc8ca6cbbdb78580 | |
parent | b8649428e2b176d283800da5f1fcd3613e9e4abc (diff) |
actually reject lock prefixes in vex instructions
-rw-r--r-- | src/long_mode/mod.rs | 2 |
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> { |