more rex stuff
This commit is contained in:
@@ -72,10 +72,6 @@ impl Reg {
|
||||
|| (self.gt4() && self.width == Width::B8 && !self.high)
|
||||
}
|
||||
|
||||
pub fn requires_mem_rex(&self) -> bool {
|
||||
self.gt8() || (self.gt4() && self.width == Width::B8 && !self.high)
|
||||
}
|
||||
|
||||
pub fn incompatible(&self, other: &Reg) -> bool {
|
||||
(self.requires_rex() && other.high) || (self.high && other.requires_rex())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user