Method
xsub32_u32
(&mut self, dst: XReg, src1: XReg, src2: u32)
Source from the content-addressed store, hash-verified
| 1760 | } |
| 1761 | |
| 1762 | fn xsub32_u32(&mut self, dst: XReg, src1: XReg, src2: u32) -> ControlFlow<Done> { |
| 1763 | let a = self.state[src1].get_u32(); |
| 1764 | self.state[dst].set_u32(a.wrapping_sub(src2)); |
| 1765 | ControlFlow::Continue(()) |
| 1766 | } |
| 1767 | |
| 1768 | fn xsub64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> { |
| 1769 | let a = self.state[operands.src1].get_u64(); |
Tested by
no test coverage detected