Method
xadd32_u32
(&mut self, dst: XReg, src1: XReg, src2: u32)
Source from the content-addressed store, hash-verified
| 1710 | } |
| 1711 | |
| 1712 | fn xadd32_u32(&mut self, dst: XReg, src1: XReg, src2: u32) -> ControlFlow<Done> { |
| 1713 | let a = self.state[src1].get_u32(); |
| 1714 | self.state[dst].set_u32(a.wrapping_add(src2)); |
| 1715 | ControlFlow::Continue(()) |
| 1716 | } |
| 1717 | |
| 1718 | fn xadd64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> { |
| 1719 | let a = self.state[operands.src1].get_u64(); |
Tested by
no test coverage detected