216 references to LoadUnsafe
System.Numerics.Tensors (174)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (32)
520
Vector512<T> end = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count));
636
Vector512<T> vector = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7)));
643
Vector512<T> vector = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6)));
650
Vector512<T> vector = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5)));
657
Vector512<T> vector = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4)));
664
Vector512<T> vector = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3)));
671
Vector512<T> vector = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2)));
678
Vector512<T> vector = transform.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 1)));
1692
Vector512<T> end = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count),
1693
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)Vector512<T>.Count));
1825
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7)),
1826
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 7)));
1833
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6)),
1834
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 6)));
1841
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5)),
1842
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 5)));
1849
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4)),
1850
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 4)));
1857
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3)),
1858
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 3)));
1865
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2)),
1866
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 2)));
1873
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 1)),
1874
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 1)));
2467
return Vector512.
LoadUnsafe
(
2474
return Vector512.
LoadUnsafe
(
2481
return Vector512.
LoadUnsafe
(
2488
return Vector512.
LoadUnsafe
(
2575
return Vector512.
LoadUnsafe
(
2582
return Vector512.
LoadUnsafe
(
2589
return Vector512.
LoadUnsafe
(
2596
return Vector512.
LoadUnsafe
(
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (24)
646
Vector512<T> end = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count),
647
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)Vector512<T>.Count));
810
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 8)),
811
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 8)));
818
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7)),
819
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 7)));
826
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6)),
827
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 6)));
834
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5)),
835
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 5)));
842
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4)),
843
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 4)));
850
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3)),
851
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 3)));
858
Vector512<T> vector = TBinaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2)),
859
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 2)));
1972
Vector512<T> end = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count)),
2130
Vector512<T> vector = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 8))),
2138
Vector512<T> vector = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7))),
2146
Vector512<T> vector = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6))),
2154
Vector512<T> vector = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5))),
2162
Vector512<T> vector = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4))),
2170
Vector512<T> vector = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3))),
2178
Vector512<T> vector = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2))),
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (17)
109
if (TAnyAll.ShouldEarlyExit(TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i))))
120
TAnyAll.ShouldEarlyExit(TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(x.Length - Vector512<T>.Count)))))
259
Vector512<byte> v = TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i)).AsByte();
369
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i)).AsUInt16(),
370
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + Vector512<T>.Count))).AsUInt16());
487
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i)).AsUInt32(),
488
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + Vector512<T>.Count))).AsUInt32()),
490
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (2 * Vector512<T>.Count)))).AsUInt32(),
491
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (3 * Vector512<T>.Count)))).AsUInt32()));
617
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i)).AsUInt64(),
618
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + Vector512<T>.Count))).AsUInt64()),
620
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (2 * Vector512<T>.Count)))).AsUInt64(),
621
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (3 * Vector512<T>.Count)))).AsUInt64())),
624
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (4 * Vector512<T>.Count)))).AsUInt64(),
625
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (5 * Vector512<T>.Count)))).AsUInt64()),
627
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (6 * Vector512<T>.Count)))).AsUInt64(),
628
TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)(i + (7 * Vector512<T>.Count)))).AsUInt64())));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (8)
548
Vector512<T> end = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count));
689
Vector512<T> vector = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 8)));
696
Vector512<T> vector = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7)));
703
Vector512<T> vector = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6)));
710
Vector512<T> vector = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5)));
717
Vector512<T> vector = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4)));
724
Vector512<T> vector = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3)));
731
Vector512<T> vector = op.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2)));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (48)
697
Vector512<T> end = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count),
698
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)Vector512<T>.Count),
699
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)Vector512<T>.Count));
884
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 8)),
885
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 8)),
886
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)(Vector512<T>.Count * 8)));
893
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7)),
894
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 7)),
895
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)(Vector512<T>.Count * 7)));
902
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6)),
903
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 6)),
904
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)(Vector512<T>.Count * 6)));
911
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5)),
912
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 5)),
913
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)(Vector512<T>.Count * 5)));
920
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4)),
921
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 4)),
922
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)(Vector512<T>.Count * 4)));
929
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3)),
930
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 3)),
931
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)(Vector512<T>.Count * 3)));
938
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2)),
939
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 2)),
940
Vector512.
LoadUnsafe
(ref zRef, remainder - (uint)(Vector512<T>.Count * 2)));
2166
Vector512<T> end = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count),
2167
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)Vector512<T>.Count),
2347
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 8)),
2348
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 8)),
2356
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7)),
2357
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 7)),
2365
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6)),
2366
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 6)),
2374
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5)),
2375
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 5)),
2383
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4)),
2384
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 4)),
2392
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3)),
2393
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 3)),
2401
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2)),
2402
Vector512.
LoadUnsafe
(ref yRef, remainder - (uint)(Vector512<T>.Count * 2)),
3643
Vector512<T> end = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<T>.Count),
3818
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 8)),
3827
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 7)),
3836
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 6)),
3845
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 5)),
3854
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 4)),
3863
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 3)),
3872
Vector512<T> vector = TTernaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<T>.Count * 2)),
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (12)
79
(Vector512<T> first, Vector512<T> second) = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref sourceRef, (uint)i));
92
(Vector512<T> first, Vector512<T> second) = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref sourceRef, (uint)i));
214
(Vector512<T> first, Vector512<T> second) = TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i), Vector512.
LoadUnsafe
(ref yRef, (uint)i));
231
Vector512.
LoadUnsafe
(ref xRef, (uint)i));
235
Vector512.
LoadUnsafe
(ref yRef, (uint)i));
240
Vector512.
LoadUnsafe
(ref destination1Ref, (uint)i),
245
Vector512.
LoadUnsafe
(ref destination2Ref, (uint)i),
397
(Vector512<T> first, Vector512<T> second) = TOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i), yVec);
414
Vector512.
LoadUnsafe
(ref xRef, (uint)i));
423
Vector512.
LoadUnsafe
(ref destination1Ref, (uint)i),
428
Vector512.
LoadUnsafe
(ref destination2Ref, (uint)i),
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToFourOperator.cs (2)
55
(Vector512<TOutput>, Vector512<TOutput>, Vector512<TOutput>, Vector512<TOutput>) results = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref sourceRef, (uint)i));
70
(Vector512<TOutput>, Vector512<TOutput>, Vector512<TOutput>, Vector512<TOutput>) results = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref sourceRef, (uint)i));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (2)
55
(Vector512<TOutput> lower, Vector512<TOutput> upper) = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref sourceRef, (uint)i));
68
(Vector512<TOutput> lower, Vector512<TOutput> upper) = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref sourceRef, (uint)i));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (8)
588
Vector512<TOutput> end = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)Vector512<TInput>.Count));
729
Vector512<TOutput> vector = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<TInput>.Count * 8)));
736
Vector512<TOutput> vector = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<TInput>.Count * 7)));
743
Vector512<TOutput> vector = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<TInput>.Count * 6)));
750
Vector512<TOutput> vector = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<TInput>.Count * 5)));
757
Vector512<TOutput> vector = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<TInput>.Count * 4)));
764
Vector512<TOutput> vector = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<TInput>.Count * 3)));
771
Vector512<TOutput> vector = TUnaryOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, remainder - (uint)(Vector512<TInput>.Count * 2)));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (4)
56
Vector512.
LoadUnsafe
(ref xRef, (uint)i),
57
Vector512.
LoadUnsafe
(ref xRef, (uint)(i + Vector512<TInput>.Count))).StoreUnsafe(ref destinationRef, (uint)i);
69
Vector512.
LoadUnsafe
(ref xRef, (uint)i),
70
Vector512.
LoadUnsafe
(ref xRef, (uint)(i + Vector512<TInput>.Count))).StoreUnsafe(ref destinationRef, (uint)i);
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (8)
76
Vector512.
LoadUnsafe
(ref xRef, (uint)i),
77
Vector512.
LoadUnsafe
(ref yRef, (uint)i),
90
Vector512.
LoadUnsafe
(ref xRef, (uint)(x.Length - Vector512<T>.Count)) & remainderMask,
91
Vector512.
LoadUnsafe
(ref yRef, (uint)(x.Length - Vector512<T>.Count)) & remainderMask,
216
(Vector512<float> xVecLower, Vector512<float> xVecUpper) = WidenHalfAsInt16ToSingleOperator.Invoke(Vector512.
LoadUnsafe
(ref xRef, (uint)i));
217
(Vector512<float> yVecLower, Vector512<float> yVecUpper) = WidenHalfAsInt16ToSingleOperator.Invoke(Vector512.
LoadUnsafe
(ref yRef, (uint)i));
232
Vector512.
LoadUnsafe
(ref xRef, (uint)(x.Length - Vector512<short>.Count)) & remainderMask);
234
Vector512.
LoadUnsafe
(ref yRef, (uint)(x.Length - Vector512<short>.Count)) & remainderMask);
System\Numerics\Tensors\netcore\TensorPrimitives.HammingDistance.cs (4)
88
Vector512<T> xVec = Vector512.
LoadUnsafe
(ref xRef, (uint)i);
89
Vector512<T> yVec = Vector512.
LoadUnsafe
(ref yRef, (uint)i);
100
Vector512<T> xVec = Vector512.
LoadUnsafe
(ref xRef, (uint)(x.Length - Vector512<T>.Count));
101
Vector512<T> yVec = Vector512.
LoadUnsafe
(ref yRef, (uint)(x.Length - Vector512<T>.Count));
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (2)
197
current = Vector512.
LoadUnsafe
(ref xRef, (uint)i);
217
current = Vector512.
LoadUnsafe
(ref xRef, (uint)(x.Length - Vector512<T>.Count));
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (3)
415
Vector512<T> result = Vector512.
LoadUnsafe
(ref xRef, 0);
436
current = Vector512.
LoadUnsafe
(ref xRef, (uint)i);
455
current = Vector512.
LoadUnsafe
(ref xRef, (uint)(x.Length - Vector512<T>.Count));
System.Private.CoreLib (41)
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (1)
175
Vector512<byte> vector = Vector512.
LoadUnsafe
(ref value, i);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (1)
2427
internal static Vector512<ushort> LoadUnsafe(ref char source, nuint elementOffset) =>
LoadUnsafe
(ref Unsafe.As<char, ushort>(ref source), elementOffset);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
732
static Vector512<T> ISimdVector<Vector512<T>, T>.LoadUnsafe(ref readonly T source, nuint elementOffset) => Vector512.
LoadUnsafe
(in source, elementOffset);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesThreeChars.cs (4)
311
Vector512<ushort> cmpCh2 = Vector512.Equals(ch2, Vector512.
LoadUnsafe
(ref Unsafe.As<char, byte>(ref searchSpace), ch2ByteOffset).AsUInt16());
312
Vector512<ushort> cmpCh3 = Vector512.Equals(ch3, Vector512.
LoadUnsafe
(ref Unsafe.As<char, byte>(ref searchSpace), ch3ByteOffset).AsUInt16());
320
Vector512<ushort> cmpCh2 = Vector512.Equals(ch2, Vector512.
LoadUnsafe
(ref Unsafe.As<char, byte>(ref searchSpace), ch2ByteOffset).AsUInt16() & caseConversion);
321
Vector512<ushort> cmpCh3 = Vector512.Equals(ch3, Vector512.
LoadUnsafe
(ref Unsafe.As<char, byte>(ref searchSpace), ch3ByteOffset).AsUInt16() & caseConversion);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (14)
87
Vector512<byte> cmpCh2 = Vector512.Equals(ch2, Vector512.
LoadUnsafe
(ref searchSpace, (nuint)(offset + ch1ch2Distance)));
88
Vector512<byte> cmpCh1 = Vector512.Equals(ch1, Vector512.
LoadUnsafe
(ref searchSpace, (nuint)offset));
314
Vector512<byte> cmpCh1 = Vector512.Equals(ch1, Vector512.
LoadUnsafe
(ref searchSpace, (nuint)offset));
315
Vector512<byte> cmpCh2 = Vector512.Equals(ch2, Vector512.
LoadUnsafe
(ref searchSpace, (nuint)(offset + ch1ch2Distance)));
833
if (Vector512.
LoadUnsafe
(ref first, offset) !=
834
Vector512.
LoadUnsafe
(ref second, offset))
843
if (Vector512.
LoadUnsafe
(ref first, lengthToExamine) ==
844
Vector512.
LoadUnsafe
(ref second, lengthToExamine))
984
matches = Vector512.Equals(Vector512.
LoadUnsafe
(ref first, offset), Vector512.
LoadUnsafe
(ref second, offset)).ExtractMostSignificantBits();
1001
matches = Vector512.Equals(Vector512.
LoadUnsafe
(ref first, offset), Vector512.
LoadUnsafe
(ref second, offset)).ExtractMostSignificantBits();
1312
Vector512<byte> tempFirst = Vector512.
LoadUnsafe
(ref buf, (nuint)offset);
1313
Vector512<byte> tempLast = Vector512.
LoadUnsafe
(ref buf, (nuint)lastOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.cs (4)
101
Vector512<int> tempFirst = Vector512.
LoadUnsafe
(ref buf, (nuint)offset);
102
Vector512<int> tempLast = Vector512.
LoadUnsafe
(ref buf, (nuint)lastOffset);
206
Vector512<long> tempFirst = Vector512.
LoadUnsafe
(ref buf, (nuint)offset);
207
Vector512<long> tempLast = Vector512.
LoadUnsafe
(ref buf, (nuint)lastOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (5)
165
Vector512<short> source1 = Vector512.
LoadUnsafe
(ref currentSearchSpace, (nuint)Vector512<short>.Count);
364
Vector512<short> source1 = Vector512.
LoadUnsafe
(ref currentSearchSpace, (nuint)Vector512<short>.Count);
574
Vector512<short> source1 = Vector512.
LoadUnsafe
(ref currentSearchSpace, (nuint)Vector512<short>.Count);
790
Vector512<short> source1 = Vector512.
LoadUnsafe
(ref currentSearchSpace, (nuint)Vector512<short>.Count);
989
Vector512<short> source1 = Vector512.
LoadUnsafe
(ref currentSearchSpace, (nuint)Vector512<short>.Count);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (7)
2639
current = Vector512.
LoadUnsafe
(ref searchSpace, (nuint)(offset));
2824
current = Vector512.
LoadUnsafe
(ref searchSpace, (nuint)(offset));
2974
current = Vector512.
LoadUnsafe
(ref searchSpace, (nuint)(offset));
3160
original = Vector512.
LoadUnsafe
(ref src, idx);
3169
original = Vector512.
LoadUnsafe
(ref src, lastVectorIndex);
3233
current = Vector512.
LoadUnsafe
(ref searchSpace, (nuint)(offset));
3725
inRangeVector = TNegator.NegateIfNeeded(Vector512.LessThanOrEqual(Vector512.
LoadUnsafe
(ref searchSpace, (nuint)offset) - lowVector, rangeVector));
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Equality.cs (1)
591
Vector512<ushort> rightNext = Vector512.
LoadUnsafe
(ref utf16, (uint)Vector512<ushort>.Count);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (3)
1992
utf16VectorFirst = Vector512.
LoadUnsafe
(ref utf16Buffer, currentOffsetInElements);
2018
utf16VectorFirst = Vector512.
LoadUnsafe
(ref utf16Buffer, currentOffsetInElements);
2019
Vector512<ushort> utf16VectorSecond = Vector512.
LoadUnsafe
(ref utf16Buffer, currentOffsetInElements + Vector512.Size / sizeof(short));
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
131
Vector512<uint> complement = ~Vector512.
LoadUnsafe
(ref start, (nuint)offset);