Method
vinsertx32
(
&mut self,
operands: BinaryOperands<VReg, VReg, XReg>,
lane: u8,
)
Source from the content-addressed store, hash-verified
| 4773 | |
| 4774 | #[interp_disable_if_cfg(pulley_disable_interp_simd)] |
| 4775 | fn vinsertx32( |
| 4776 | &mut self, |
| 4777 | operands: BinaryOperands<VReg, VReg, XReg>, |
| 4778 | lane: u8, |
| 4779 | ) -> ControlFlow<Done> { |
| 4780 | let mut a = self.state[operands.src1].get_u32x4(); |
| 4781 | let b = self.state[operands.src2].get_u32(); |
| 4782 | unsafe { |
| 4783 | *a.get_unchecked_mut(usize::from(lane)) = b; |
| 4784 | } |
| 4785 | self.state[operands.dst].set_u32x4(a); |
| 4786 | ControlFlow::Continue(()) |
| 4787 | } |
| 4788 | |
| 4789 | #[interp_disable_if_cfg(pulley_disable_interp_simd)] |
| 4790 | fn vinsertx64( |
Callers
nothing calls this directly
Tested by
no test coverage detected