(&mut self, operands: BinaryOperands<XReg>)
| 1749 | } |
| 1750 | |
| 1751 | fn xsub32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> { |
| 1752 | let a = self.state[operands.src1].get_u32(); |
| 1753 | let b = self.state[operands.src2].get_u32(); |
| 1754 | self.state[operands.dst].set_u32(a.wrapping_sub(b)); |
| 1755 | ControlFlow::Continue(()) |
| 1756 | } |
| 1757 | |
| 1758 | fn xsub32_u8(&mut self, dst: XReg, src1: XReg, src2: u8) -> ControlFlow<Done> { |
| 1759 | self.xsub32_u32(dst, src1, src2.into()) |