(&mut self, operands: BinaryOperands<XReg>)
| 1783 | } |
| 1784 | |
| 1785 | fn xmul32(&mut self, operands: BinaryOperands<XReg>) -> ControlFlow<Done> { |
| 1786 | let a = self.state[operands.src1].get_u32(); |
| 1787 | let b = self.state[operands.src2].get_u32(); |
| 1788 | self.state[operands.dst].set_u32(a.wrapping_mul(b)); |
| 1789 | ControlFlow::Continue(()) |
| 1790 | } |
| 1791 | |
| 1792 | fn xmul32_s8(&mut self, dst: XReg, src1: XReg, src2: i8) -> ControlFlow<Done> { |
| 1793 | self.xmul32_s32(dst, src1, src2.into()) |