205 references to Vector
mscorlib (1)
mscorlib.cs (1)
81
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.
Vector
))]
netstandard (1)
netstandard.cs (1)
1337
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.
Vector
))]
System.Formats.Asn1 (31)
System\Formats\Asn1\AsnCharacterStringEncodings.net.cs (31)
20
if (chars.Length >= Vector<byte>.Count &&
Vector
.IsHardwareAccelerated)
30
if (bytes.Length >= Vector<byte>.Count &&
Vector
.IsHardwareAccelerated)
64
Vector
.Narrow(lower, upper).CopyTo(destination);
100
Vector
.Widen(value, out Vector<ushort> lower, out Vector<ushort> upper);
122
Vector<byte> allowed =
Vector
.LessThanOrEqual(
127
allowed |=
Vector
.Equals(value, new Vector<byte>((byte)' '));
129
return
Vector
.AllWhereAllBitsSet(allowed);
135
Vector<ushort> allowed =
Vector
.LessThanOrEqual(
140
allowed |=
Vector
.Equals(value, new Vector<ushort>(' '));
142
return
Vector
.AllWhereAllBitsSet(allowed);
153
Vector<byte> allowed =
Vector
.LessThanOrEqual(
158
allowed |=
Vector
.LessThanOrEqual(
160
new Vector<byte>(':' - '\'')) & ~
Vector
.Equals(value, new Vector<byte>((byte)'*'));
163
allowed |=
Vector
.Equals(value | new Vector<byte>(EqualsQuestionMarkMask), new Vector<byte>((byte)'?'));
166
allowed |=
Vector
.Equals(value, new Vector<byte>((byte)' '));
168
return
Vector
.AllWhereAllBitsSet(allowed);
174
Vector<ushort> allowed =
Vector
.LessThanOrEqual(
179
allowed |=
Vector
.LessThanOrEqual(
181
new Vector<ushort>(':' - '\'')) & ~
Vector
.Equals(value, new Vector<ushort>('*'));
184
allowed |=
Vector
.Equals(value | new Vector<ushort>(EqualsQuestionMarkMask), new Vector<ushort>('?'));
187
allowed |=
Vector
.Equals(value, new Vector<ushort>(' '));
189
return
Vector
.AllWhereAllBitsSet(allowed);
221
if (chars.Length >= Vector<byte>.Count &&
Vector
.IsHardwareAccelerated)
251
if (bytes.Length >= Vector<byte>.Count &&
Vector
.IsHardwareAccelerated)
309
Vector
.Narrow(lower, upper).CopyTo(destination);
349
Vector
.Widen(value, out Vector<ushort> lower, out Vector<ushort> upper);
375
return
Vector
.LessThanOrEqualAll(offset, range);
381
return
Vector
.LessThanOrEqualAll(offset, range);
400
if (chars.Length >= Vector<ushort>.Count &&
Vector
.IsHardwareAccelerated)
452
if (bytes.Length >= Vector<ushort>.Count * sizeof(ushort) &&
Vector
.IsHardwareAccelerated)
563
return
Vector
.LessThanOrEqualAny(offset, surrogateRange);
System.Formats.Tar (5)
System\Formats\Tar\TarHeader.Write.cs (5)
998
if (
Vector
.IsHardwareAccelerated && bytes.Length >= vectorSize)
1014
Vector
.Widen(vector, out Vector<ushort> lower, out Vector<ushort> upper);
1020
Vector
.Widen(accumulator, out Vector<uint> lower32, out Vector<uint> upper32);
1021
checksum = (int)
Vector
.Sum(lower32) + (int)
Vector
.Sum(upper32);
System.Linq (11)
System\Linq\Average.cs (3)
32
if (
Vector
.IsHardwareAccelerated && span.Length >= Vector<int>.Count)
37
Vector
.Widen(new Vector<int>(span.Slice(i)), out Vector<long> low, out Vector<long> high);
43
sum +=
Vector
.Sum(sums);
System\Linq\Range.cs (1)
80
if (
Vector
.IsHardwareAccelerated &&
System\Linq\Sum.cs (7)
52
&&
Vector
.IsHardwareAccelerated
84
Debug.Assert(
Vector
.IsHardwareAccelerated);
123
Vector<T> data =
Vector
.Create(span);
127
data =
Vector
.Create(span.Slice(Vector<T>.Count));
131
data =
Vector
.Create(span.Slice(Vector<T>.Count * 2));
135
data =
Vector
.Create(span.Slice(Vector<T>.Count * 3));
145
Vector<T> data =
Vector
.Create(span);
System.Net.WebSockets (2)
System\Net\WebSockets\ManagedWebSocket.cs (2)
1697
if (
Vector
.IsHardwareAccelerated && (toMaskEnd - toMaskPtr) >= Vector<byte>.Count)
1699
Vector<byte> maskVector =
Vector
.AsVectorByte(new Vector<int>(rolledMask));
System.Numerics.Vectors (1)
src\runtime\artifacts\obj\System.Numerics.Vectors\Release\net11.0\System.Numerics.Vectors.Forwards.cs (1)
11
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.
Vector
))]
System.Private.CoreLib (152)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (82)
43
this =
Vector
.Create(value);
132
get =>
Vector
.Create(Scalar<T>.AllBitsSet);
181
get =>
Vector
.Create(Scalar<T>.One);
492
public static Vector<T> operator *(Vector<T> value, T factor) => value *
Vector
.Create(factor);
696
if (
Vector
.IsHardwareAccelerated)
700
Vector<T> result =
Vector
.Equals(this, other) | ~(
Vector
.Equals(this, this) |
Vector
.Equals(other, other));
810
static int ISimdVector<Vector<T>, T>.Alignment =>
Vector
.Alignment;
819
get =>
Vector
.IsHardwareAccelerated;
824
static Vector<T> ISimdVector<Vector<T>, T>.Abs(Vector<T> vector) =>
Vector
.Abs(vector);
832
static bool ISimdVector<Vector<T>, T>.All(Vector<T> vector, T value) =>
Vector
.All(vector, value);
836
static bool ISimdVector<Vector<T>, T>.AllWhereAllBitsSet(Vector<T> vector) =>
Vector
.AllWhereAllBitsSet(vector);
840
static Vector<T> ISimdVector<Vector<T>, T>.AndNot(Vector<T> left, Vector<T> right) =>
Vector
.AndNot(left, right);
844
static bool ISimdVector<Vector<T>, T>.Any(Vector<T> vector, T value) =>
Vector
.Any(vector, value);
848
static bool ISimdVector<Vector<T>, T>.AnyWhereAllBitsSet(Vector<T> vector) =>
Vector
.AnyWhereAllBitsSet(vector);
860
static Vector<T> ISimdVector<Vector<T>, T>.Ceiling(Vector<T> vector) =>
Vector
.Ceiling(vector);
864
static Vector<T> ISimdVector<Vector<T>, T>.Clamp(Vector<T> value, Vector<T> min, Vector<T> max) =>
Vector
.Clamp(value, min, max);
868
static Vector<T> ISimdVector<Vector<T>, T>.ClampNative(Vector<T> value, Vector<T> min, Vector<T> max) =>
Vector
.ClampNative(value, min, max);
872
static Vector<T> ISimdVector<Vector<T>, T>.ConditionalSelect(Vector<T> condition, Vector<T> left, Vector<T> right) =>
Vector
.ConditionalSelect(condition, left, right);
876
static Vector<T> ISimdVector<Vector<T>, T>.CopySign(Vector<T> value, Vector<T> sign) =>
Vector
.CopySign(value, sign);
889
static int ISimdVector<Vector<T>, T>.Count(Vector<T> vector, T value) =>
Vector
.Count(vector, value);
893
static int ISimdVector<Vector<T>, T>.CountWhereAllBitsSet(Vector<T> vector) =>
Vector
.CountWhereAllBitsSet(vector);
897
static Vector<T> ISimdVector<Vector<T>, T>.Create(T value) =>
Vector
.Create(value);
906
static Vector<T> ISimdVector<Vector<T>, T>.Create(ReadOnlySpan<T> values) =>
Vector
.Create(values);
910
static Vector<T> ISimdVector<Vector<T>, T>.CreateScalar(T value) =>
Vector
.CreateScalar(value);
914
static Vector<T> ISimdVector<Vector<T>, T>.CreateScalarUnsafe(T value) =>
Vector
.CreateScalarUnsafe(value);
926
static T ISimdVector<Vector<T>, T>.Dot(Vector<T> left, Vector<T> right) =>
Vector
.Dot(left, right);
930
static Vector<T> ISimdVector<Vector<T>, T>.Equals(Vector<T> left, Vector<T> right) =>
Vector
.Equals(left, right);
938
static bool ISimdVector<Vector<T>, T>.EqualsAny(Vector<T> left, Vector<T> right) =>
Vector
.EqualsAny(left, right);
942
static Vector<T> ISimdVector<Vector<T>, T>.Floor(Vector<T> vector) =>
Vector
.Floor(vector);
950
static Vector<T> ISimdVector<Vector<T>, T>.GreaterThan(Vector<T> left, Vector<T> right) =>
Vector
.GreaterThan(left, right);
954
static bool ISimdVector<Vector<T>, T>.GreaterThanAll(Vector<T> left, Vector<T> right) =>
Vector
.GreaterThanAll(left, right);
958
static bool ISimdVector<Vector<T>, T>.GreaterThanAny(Vector<T> left, Vector<T> right) =>
Vector
.GreaterThanAny(left, right);
962
static Vector<T> ISimdVector<Vector<T>, T>.GreaterThanOrEqual(Vector<T> left, Vector<T> right) =>
Vector
.GreaterThanOrEqual(left, right);
966
static bool ISimdVector<Vector<T>, T>.GreaterThanOrEqualAll(Vector<T> left, Vector<T> right) =>
Vector
.GreaterThanOrEqualAll(left, right);
970
static bool ISimdVector<Vector<T>, T>.GreaterThanOrEqualAny(Vector<T> left, Vector<T> right) =>
Vector
.GreaterThanOrEqualAny(left, right);
974
static int ISimdVector<Vector<T>, T>.IndexOf(Vector<T> vector, T value) =>
Vector
.IndexOf(vector, value);
978
static int ISimdVector<Vector<T>, T>.IndexOfWhereAllBitsSet(Vector<T> vector) =>
Vector
.IndexOfWhereAllBitsSet(vector);
982
static Vector<T> ISimdVector<Vector<T>, T>.IsEvenInteger(Vector<T> vector) =>
Vector
.IsEvenInteger(vector);
986
static Vector<T> ISimdVector<Vector<T>, T>.IsFinite(Vector<T> vector) =>
Vector
.IsFinite(vector);
990
static Vector<T> ISimdVector<Vector<T>, T>.IsInfinity(Vector<T> vector) =>
Vector
.IsInfinity(vector);
994
static Vector<T> ISimdVector<Vector<T>, T>.IsInteger(Vector<T> vector) =>
Vector
.IsInteger(vector);
998
static Vector<T> ISimdVector<Vector<T>, T>.IsNaN(Vector<T> vector) =>
Vector
.IsNaN(vector);
1002
static Vector<T> ISimdVector<Vector<T>, T>.IsNegative(Vector<T> vector) =>
Vector
.IsNegative(vector);
1006
static Vector<T> ISimdVector<Vector<T>, T>.IsNegativeInfinity(Vector<T> vector) =>
Vector
.IsNegativeInfinity(vector);
1010
static Vector<T> ISimdVector<Vector<T>, T>.IsNormal(Vector<T> vector) =>
Vector
.IsNormal(vector);
1014
static Vector<T> ISimdVector<Vector<T>, T>.IsOddInteger(Vector<T> vector) =>
Vector
.IsOddInteger(vector);
1018
static Vector<T> ISimdVector<Vector<T>, T>.IsPositive(Vector<T> vector) =>
Vector
.IsPositive(vector);
1022
static Vector<T> ISimdVector<Vector<T>, T>.IsPositiveInfinity(Vector<T> vector) =>
Vector
.IsPositiveInfinity(vector);
1026
static Vector<T> ISimdVector<Vector<T>, T>.IsSubnormal(Vector<T> vector) =>
Vector
.IsSubnormal(vector);
1029
static Vector<T> ISimdVector<Vector<T>, T>.IsZero(Vector<T> vector) =>
Vector
.IsZero(vector);
1033
static int ISimdVector<Vector<T>, T>.LastIndexOf(Vector<T> vector, T value) =>
Vector
.LastIndexOf(vector, value);
1037
static int ISimdVector<Vector<T>, T>.LastIndexOfWhereAllBitsSet(Vector<T> vector) =>
Vector
.LastIndexOfWhereAllBitsSet(vector);
1041
static Vector<T> ISimdVector<Vector<T>, T>.LessThan(Vector<T> left, Vector<T> right) =>
Vector
.LessThan(left, right);
1045
static bool ISimdVector<Vector<T>, T>.LessThanAll(Vector<T> left, Vector<T> right) =>
Vector
.LessThanAll(left, right);
1049
static bool ISimdVector<Vector<T>, T>.LessThanAny(Vector<T> left, Vector<T> right) =>
Vector
.LessThanAny(left, right);
1053
static Vector<T> ISimdVector<Vector<T>, T>.LessThanOrEqual(Vector<T> left, Vector<T> right) =>
Vector
.LessThanOrEqual(left, right);
1057
static bool ISimdVector<Vector<T>, T>.LessThanOrEqualAll(Vector<T> left, Vector<T> right) =>
Vector
.LessThanOrEqualAll(left, right);
1061
static bool ISimdVector<Vector<T>, T>.LessThanOrEqualAny(Vector<T> left, Vector<T> right) =>
Vector
.LessThanOrEqualAny(left, right);
1065
static Vector<T> ISimdVector<Vector<T>, T>.Load(T* source) =>
Vector
.Load(source);
1069
static Vector<T> ISimdVector<Vector<T>, T>.LoadAligned(T* source) =>
Vector
.LoadAligned(source);
1073
static Vector<T> ISimdVector<Vector<T>, T>.LoadAlignedNonTemporal(T* source) =>
Vector
.LoadAlignedNonTemporal(source);
1077
static Vector<T> ISimdVector<Vector<T>, T>.LoadUnsafe(ref readonly T source) =>
Vector
.LoadUnsafe(in source);
1081
static Vector<T> ISimdVector<Vector<T>, T>.LoadUnsafe(ref readonly T source, nuint elementOffset) =>
Vector
.LoadUnsafe(in source, elementOffset);
1085
static Vector<T> ISimdVector<Vector<T>, T>.Max(Vector<T> left, Vector<T> right) =>
Vector
.Max(left, right);
1089
static Vector<T> ISimdVector<Vector<T>, T>.MaxMagnitude(Vector<T> left, Vector<T> right) =>
Vector
.MaxMagnitude(left, right);
1093
static Vector<T> ISimdVector<Vector<T>, T>.MaxMagnitudeNumber(Vector<T> left, Vector<T> right) =>
Vector
.MaxMagnitudeNumber(left, right);
1097
static Vector<T> ISimdVector<Vector<T>, T>.MaxNative(Vector<T> left, Vector<T> right) =>
Vector
.MaxNative(left, right);
1101
static Vector<T> ISimdVector<Vector<T>, T>.MaxNumber(Vector<T> left, Vector<T> right) =>
Vector
.MaxNumber(left, right);
1105
static Vector<T> ISimdVector<Vector<T>, T>.Min(Vector<T> left, Vector<T> right) =>
Vector
.Min(left, right);
1109
static Vector<T> ISimdVector<Vector<T>, T>.MinMagnitude(Vector<T> left, Vector<T> right) =>
Vector
.MinMagnitude(left, right);
1113
static Vector<T> ISimdVector<Vector<T>, T>.MinMagnitudeNumber(Vector<T> left, Vector<T> right) =>
Vector
.MinMagnitudeNumber(left, right);
1117
static Vector<T> ISimdVector<Vector<T>, T>.MinNative(Vector<T> left, Vector<T> right) =>
Vector
.MinNative(left, right);
1121
static Vector<T> ISimdVector<Vector<T>, T>.MinNumber(Vector<T> left, Vector<T> right) =>
Vector
.MinNumber(left, right);
1133
static Vector<T> ISimdVector<Vector<T>, T>.MultiplyAddEstimate(Vector<T> left, Vector<T> right, Vector<T> addend) =>
Vector
.MultiplyAddEstimate(left, right, addend);
1141
static bool ISimdVector<Vector<T>, T>.None(Vector<T> vector, T value) =>
Vector
.None(vector, value);
1145
static bool ISimdVector<Vector<T>, T>.NoneWhereAllBitsSet(Vector<T> vector) =>
Vector
.NoneWhereAllBitsSet(vector);
1153
static Vector<T> ISimdVector<Vector<T>, T>.Round(Vector<T> vector) =>
Vector
.Round(vector);
1169
static Vector<T> ISimdVector<Vector<T>, T>.Sqrt(Vector<T> vector) =>
Vector
.SquareRoot(vector);
1197
static T ISimdVector<Vector<T>, T>.Sum(Vector<T> vector) =>
Vector
.Sum(vector);
1205
static Vector<T> ISimdVector<Vector<T>, T>.Truncate(Vector<T> vector) =>
Vector
.Truncate(vector);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
20
/// <summary>Specifies the alignment of the vector as used by the <see cref="LoadAligned(float*)" /> and <see cref="
Vector
.StoreAligned(Vector2, float*)" /> APIs.</summary>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
20
/// <summary>Specifies the alignment of the vector as used by the <see cref="LoadAligned(float*)" /> and <see cref="
Vector
.StoreAligned(Vector3, float*)" /> APIs.</summary>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
20
/// <summary>Specifies the alignment of the vector as used by the <see cref="LoadAligned(float*)" /> and <see cref="
Vector
.StoreAligned(Vector4, float*)" /> APIs.</summary>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (11)
1638
/// <inheritdoc cref="
Vector
.ConcatLowerLower{T}(Vector{T}, Vector{T})" />
1643
/// <inheritdoc cref="
Vector
.ConcatUpperLower{T}(Vector{T}, Vector{T})" />
1648
/// <inheritdoc cref="
Vector
.ConcatUpperUpper{T}(Vector{T}, Vector{T})" />
1653
/// <inheritdoc cref="
Vector
.ConcatLowerUpper{T}(Vector{T}, Vector{T})" />
1658
/// <inheritdoc cref="
Vector
.ZipLower{T}(Vector{T}, Vector{T})" />
1674
/// <inheritdoc cref="
Vector
.ZipUpper{T}(Vector{T}, Vector{T})" />
1690
/// <inheritdoc cref="
Vector
.Zip{T}(Vector{T}, Vector{T})" />
1695
/// <inheritdoc cref="
Vector
.UnzipEven{T}(Vector{T}, Vector{T})" />
1703
/// <inheritdoc cref="
Vector
.UnzipOdd{T}(Vector{T}, Vector{T})" />
1719
/// <inheritdoc cref="
Vector
.Unzip{T}(Vector{T}, Vector{T})" />
1724
/// <inheritdoc cref="
Vector
.Reverse{T}(Vector{T})" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (11)
1725
/// <inheritdoc cref="
Vector
.ConcatLowerLower{T}(Vector{T}, Vector{T})" />
1730
/// <inheritdoc cref="
Vector
.ConcatUpperLower{T}(Vector{T}, Vector{T})" />
1735
/// <inheritdoc cref="
Vector
.ConcatUpperUpper{T}(Vector{T}, Vector{T})" />
1740
/// <inheritdoc cref="
Vector
.ConcatLowerUpper{T}(Vector{T}, Vector{T})" />
1745
/// <inheritdoc cref="
Vector
.ZipLower{T}(Vector{T}, Vector{T})" />
1753
/// <inheritdoc cref="
Vector
.ZipUpper{T}(Vector{T}, Vector{T})" />
1761
/// <inheritdoc cref="
Vector
.Zip{T}(Vector{T}, Vector{T})" />
1780
/// <inheritdoc cref="
Vector
.UnzipEven{T}(Vector{T}, Vector{T})" />
1788
/// <inheritdoc cref="
Vector
.UnzipOdd{T}(Vector{T}, Vector{T})" />
1796
/// <inheritdoc cref="
Vector
.Unzip{T}(Vector{T}, Vector{T})" />
1818
/// <inheritdoc cref="
Vector
.Reverse{T}(Vector{T})" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (11)
1758
/// <inheritdoc cref="
Vector
.ConcatLowerLower{T}(Vector{T}, Vector{T})" />
1763
/// <inheritdoc cref="
Vector
.ConcatUpperLower{T}(Vector{T}, Vector{T})" />
1768
/// <inheritdoc cref="
Vector
.ConcatUpperUpper{T}(Vector{T}, Vector{T})" />
1773
/// <inheritdoc cref="
Vector
.ConcatLowerUpper{T}(Vector{T}, Vector{T})" />
1778
/// <inheritdoc cref="
Vector
.ZipLower{T}(Vector{T}, Vector{T})" />
1786
/// <inheritdoc cref="
Vector
.ZipUpper{T}(Vector{T}, Vector{T})" />
1794
/// <inheritdoc cref="
Vector
.Zip{T}(Vector{T}, Vector{T})" />
1824
/// <inheritdoc cref="
Vector
.UnzipEven{T}(Vector{T}, Vector{T})" />
1832
/// <inheritdoc cref="
Vector
.UnzipOdd{T}(Vector{T}, Vector{T})" />
1840
/// <inheritdoc cref="
Vector
.Unzip{T}(Vector{T}, Vector{T})" />
1873
/// <inheritdoc cref="
Vector
.Reverse{T}(Vector{T})" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (11)
1453
/// <inheritdoc cref="
Vector
.ConcatLowerLower{T}(Vector{T}, Vector{T})" />
1476
/// <inheritdoc cref="
Vector
.ConcatUpperLower{T}(Vector{T}, Vector{T})" />
1499
/// <inheritdoc cref="
Vector
.ConcatUpperUpper{T}(Vector{T}, Vector{T})" />
1522
/// <inheritdoc cref="
Vector
.ConcatLowerUpper{T}(Vector{T}, Vector{T})" />
1545
/// <inheritdoc cref="
Vector
.ZipLower{T}(Vector{T}, Vector{T})" />
1566
/// <inheritdoc cref="
Vector
.ZipUpper{T}(Vector{T}, Vector{T})" />
1587
/// <inheritdoc cref="
Vector
.Zip{T}(Vector{T}, Vector{T})" />
1592
/// <inheritdoc cref="
Vector
.UnzipEven{T}(Vector{T}, Vector{T})" />
1613
/// <inheritdoc cref="
Vector
.UnzipOdd{T}(Vector{T}, Vector{T})" />
1634
/// <inheritdoc cref="
Vector
.Unzip{T}(Vector{T}, Vector{T})" />
1639
/// <inheritdoc cref="
Vector
.Reverse{T}(Vector{T})" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (10)
2526
result = (TVectorDouble)(object)
Vector
.ConvertToDouble((Vector<long>)(object)vector);
2561
result = (TVectorSingle)(object)
Vector
.ConvertToSingle((Vector<int>)(object)vector);
2685
result = (TVectorDouble)(object)
Vector
.FusedMultiplyAdd((Vector<double>)(object)left, (Vector<double>)(object)right, (Vector<double>)(object)addend);
2719
result = (TVector)(object)
Vector
.Create(value);
2753
result = (TVector)(object)
Vector
.Create(value);
2850
result = (TVectorSingle)(object)
Vector
.Narrow((Vector<double>)(object)lower, (Vector<double>)(object)upper);
2888
result = (TVectorUInt32)(object)
Vector
.ShiftLeft(
2937
result = (TVectorUInt64)(object)
Vector
.ShiftLeft(
3180
result = (TVectorDouble)(object)
Vector
.WidenLower((Vector<float>)(object)vector);
3220
result = (TVectorDouble)(object)
Vector
.WidenUpper((Vector<float>)(object)vector);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.ByteMemOps.cs (1)
494
if (!
Vector
.IsHardwareAccelerated)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (1)
481
if (
Vector
.IsHardwareAccelerated && minLength >= (nuint)Vector<ushort>.Count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (1)
28
if (!
Vector
.IsHardwareAccelerated)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.cs (10)
46
if (
Vector
.IsHardwareAccelerated && bufferLength >= 2 * (uint)Vector<ushort>.Count)
53
if (
Vector
.LessThanOrEqualAll(Unsafe.ReadUnaligned<Vector<ushort>>(pBuffer), maxLatin1))
73
if (
Vector
.GreaterThanAny(Unsafe.Read<Vector<ushort>>(pBuffer), maxLatin1))
580
else if (
Vector
.IsHardwareAccelerated)
617
if (
Vector
.GreaterThanAny(
Vector
.BitwiseOr(utf16VectorHigh, utf16VectorLow), maxLatin1))
623
Vector<byte> latin1Vector =
Vector
.Narrow(utf16VectorHigh, utf16VectorLow);
1076
if (
Vector
.IsHardwareAccelerated)
1089
Vector
.Widen(
Vector
.AsVectorByte(latin1Vector), out Vector<ushort> utf16LowVector, out Vector<ushort> utf16HighVector);
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\AllowedBmpCodePointsBitmap.cs (1)
73
if (
Vector
.IsHardwareAccelerated && BitConverter.IsLittleEndian)