diff options
author | iximeow <me@iximeow.net> | 2019-12-16 01:34:01 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:14 -0800 |
commit | e641a7274d6862f64f5d8eb7033a2d3433b3b68c (patch) | |
tree | fbf9c5b343af73d33ac31238bcee137ddfab95ce | |
parent | a245487fa29f7e132f6f2c42d84bdaf5fc099922 (diff) |
fix avx bit number
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |