Method
vinsertx64
(
&mut self,
operands: BinaryOperands<VReg, VReg, XReg>,
lane: u8,
)
Source from the content-addressed store, hash-verified
| 4788 | |
| 4789 | #[interp_disable_if_cfg(pulley_disable_interp_simd)] |
| 4790 | fn vinsertx64( |
| 4791 | &mut self, |
| 4792 | operands: BinaryOperands<VReg, VReg, XReg>, |
| 4793 | lane: u8, |
| 4794 | ) -> ControlFlow<Done> { |
| 4795 | let mut a = self.state[operands.src1].get_u64x2(); |
| 4796 | let b = self.state[operands.src2].get_u64(); |
| 4797 | unsafe { |
| 4798 | *a.get_unchecked_mut(usize::from(lane)) = b; |
| 4799 | } |
| 4800 | self.state[operands.dst].set_u64x2(a); |
| 4801 | ControlFlow::Continue(()) |
| 4802 | } |
| 4803 | |
| 4804 | #[interp_disable_if_cfg(pulley_disable_interp_simd)] |
| 4805 | fn vinsertf32( |
Callers
nothing calls this directly
Tested by
no test coverage detected