(&mut self, dst: XReg, src: XReg)
| 2125 | } |
| 2126 | |
| 2127 | fn sext8(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> { |
| 2128 | let src = self.state[src].get_i64() as i8; |
| 2129 | self.state[dst].set_i64(src.into()); |
| 2130 | ControlFlow::Continue(()) |
| 2131 | } |
| 2132 | |
| 2133 | fn sext16(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> { |
| 2134 | let src = self.state[src].get_i64() as i16; |