(&mut self, operands: BinaryOperands<XReg>)
| 1766 | } |
| 1767 | |
| 1768 | fn xsub64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> { |
| 1769 | let a = self.state[operands.src1].get_u64(); |
| 1770 | let b = self.state[operands.src2].get_u64(); |
| 1771 | self.state[operands.dst].set_u64(a.wrapping_sub(b)); |
| 1772 | ControlFlow::Continue(()) |
| 1773 | } |
| 1774 | |
| 1775 | fn xsub64_u8(&mut self, dst: XReg, src1: XReg, src2: u8) -> ControlFlow<Done> { |
| 1776 | self.xsub64_u32(dst, src1, src2.into()) |