16 references to ConditionalSelect
System.Numerics.Tensors (10)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (1)
466Vector256<T> second = Vector256.ConditionalSelect(mask,
System\Numerics\Tensors\netcore\TensorPrimitives.Abs.cs (1)
74Vector256<T> abs = Vector256.ConditionalSelect(Vector256.LessThan(x, Vector256<T>.Zero), -x, x);
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (1)
480offsetMaskedExponentLowerBound = Vector256.ConditionalSelect(Vector256.Equals(infinityOrNaNMask, Vector256<uint>.Zero),
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (1)
500return Vector256.ConditionalSelect(mask, left, right);
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
331return Vector256.ConditionalSelect(Vector256.LessThan(Vector256.Abs(x), limit),
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (3)
68return Vector256.ConditionalSelect(Vector256.Equals(x, Vector256<T>.Zero).AsInt32(), 84return Vector256.ConditionalSelect(Vector256.LessThan(x, Vector256<T>.Zero).AsInt32(), 86Vector256.ConditionalSelect(Vector256.GreaterThan(x, Vector256<T>.Zero).AsInt32(),
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (2)
186return Vector256.ConditionalSelect(Vector256.Equals(odd, Vector256<uint>.Zero).AsSingle(), 343return Vector256.ConditionalSelect(Vector256.Equals(odd, Vector256<ulong>.Zero).AsDouble(),
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
523static Vector256<T> ISimdVector<Vector256<T>, T>.ConditionalSelect(Vector256<T> condition, Vector256<T> left, Vector256<T> right) => Vector256.ConditionalSelect(condition, left, right);
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (1)
1244Vector256<byte> bitsets = Vector256.ConditionalSelect(mask, row1, row0);
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (1)
209Vector256<byte> bitMask = Vector256.ConditionalSelect(mask, bitMaskUpper, bitMaskLower);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (1)
177ToUpperMask256 = Vector256.ConditionalSelect(isAsciiLetter, Vector256.Create(unchecked((ushort)~0x20)), Vector256.Create(ushort.MaxValue));
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (2)
3156result = Vector256.ConditionalSelect(mask, newValues, original); 3165result = Vector256.ConditionalSelect(mask, newValues, original);