Function core::arch::wasm::i8x16_swizzle1.54.0[][src]

pub fn i8x16_swizzle(a: v128, s: v128) -> v128
This is supported on target_family="wasm" and target feature simd128 only.
Expand description

返回带有从第二个输入 vector s 中指定的第一个输入 vector a 的 lanes 中选择的 lanes 的新 vector。

范围 [0, 15] 中的索引 i 选择 a 的第 i 个元素。对于越界的索引,lane 的结果为 0。