(&mut self, operands: BinaryOperands<XReg>)
| 1716 | } |
| 1717 | |
| 1718 | fn xadd64(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> { |
| 1719 | let a = self.state[operands.src1].get_u64(); |
| 1720 | let b = self.state[operands.src2].get_u64(); |
| 1721 | self.state[operands.dst].set_u64(a.wrapping_add(b)); |
| 1722 | ControlFlow::Continue(()) |
| 1723 | } |
| 1724 | |
| 1725 | fn xadd64_u8(&mut self, dst: XReg, src1: XReg, src2: u8) -> ControlFlow<Done> { |
| 1726 | self.xadd64_u32(dst, src1, src2.into()) |