aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-06-27 10:38:57 -0700
committeriximeow <me@iximeow.net>2021-06-27 10:39:20 -0700
commitbc16a5069bc53aec217e8f3a8a269c0e53b7eed7 (patch)
tree864e5ed26d0b5954a613a0cd3fead07ee430eb4d /src/long_mode/mod.rs
parentb468b923e7a8bd25a97e11e511fb4902341d7634 (diff)
remove support for nonexistent prefixes
Diffstat (limited to 'src/long_mode/mod.rs')
-rw-r--r--src/long_mode/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 895502f..59bb321 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -4373,10 +4373,6 @@ impl Prefixes {
#[inline]
fn set_rep(&mut self) { self.bits = (self.bits & 0xcf) | 0x10; }
#[inline]
- pub fn repz(&self) -> bool { self.bits & 0x30 == 0x20 }
- #[inline]
- fn set_repz(&mut self) { self.bits = (self.bits & 0xcf) | 0x20; }
- #[inline]
pub fn repnz(&self) -> bool { self.bits & 0x30 == 0x30 }
#[inline]
fn set_repnz(&mut self) { self.bits = (self.bits & 0xcf) | 0x30; }