Method YNarrowSaturateUnsigned
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YNarrowSaturateUnsigned(Vector256<short>, Vector256<short>)
Saturate narrows two signed Vector256<T> instances into one unsigned Vector256<T>" (将两个有符号 Vector256<T> 实例饱和缩窄为一个无符号 Vector256<T> ). />.
Mnemonic: rt[i] := narrow_saturate(element_ref(i, lower, upper)) = narrow(clamp(element_ref(i, lower, upper), 0, TOut.MaxValue)).
Vector256<byte> YNarrowSaturateUnsigned(Vector256<short> lower, Vector256<short> upper)
Parameters
lowerVector256<short>The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).
upperVector256<short>The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).
Returns
- Vector256<byte>
A Vector256<T> containing elements narrowed from
lowerandupper(一个包含了来自lower与upper缩窄元素的向量).
- See Also
YNarrowSaturateUnsigned(Vector256<int>, Vector256<int>)
Saturate narrows two signed Vector256<T> instances into one unsigned Vector256<T>" (将两个有符号 Vector256<T> 实例饱和缩窄为一个无符号 Vector256<T> ). />.
Mnemonic: rt[i] := narrow_saturate(element_ref(i, lower, upper)) = narrow(clamp(element_ref(i, lower, upper), 0, TOut.MaxValue)).
Vector256<ushort> YNarrowSaturateUnsigned(Vector256<int> lower, Vector256<int> upper)
Parameters
lowerVector256<int>The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).
upperVector256<int>The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).
Returns
- Vector256<ushort>
A Vector256<T> containing elements narrowed from
lowerandupper(一个包含了来自lower与upper缩窄元素的向量).
- See Also
YNarrowSaturateUnsigned(Vector256<long>, Vector256<long>)
Saturate narrows two signed Vector256<T> instances into one unsigned Vector256<T>" (将两个有符号 Vector256<T> 实例饱和缩窄为一个无符号 Vector256<T> ). />.
Mnemonic: rt[i] := narrow_saturate(element_ref(i, lower, upper)) = narrow(clamp(element_ref(i, lower, upper), 0, TOut.MaxValue)).
Vector256<uint> YNarrowSaturateUnsigned(Vector256<long> lower, Vector256<long> upper)
Parameters
lowerVector256<long>The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).
upperVector256<long>The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).
Returns
- Vector256<uint>
A Vector256<T> containing elements narrowed from
lowerandupper(一个包含了来自lower与upper缩窄元素的向量).
- See Also