aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c583031..ddba4bb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1841,11 +1841,11 @@ impl InstDecoder {
}
pub fn avx(&self) -> bool {
- self.flags & (1 << 54) != 0
+ self.flags & (1 << 55) != 0
}
pub fn with_avx(mut self) -> Self {
- self.flags |= 1 << 54;
+ self.flags |= 1 << 55;
self
}