132 references to StoreUnsafe
System.Numerics.Tensors (114)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (24)
570vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 8)); 578vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 7)); 586vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 6)); 594vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 5)); 602vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 4)); 610vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 3)); 618vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 2)); 625end.StoreUnsafe(ref dRef, endIndex - (uint)Vector256<T>.Count); 950end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1122end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1237end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1327end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1894vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 8)); 1902vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 7)); 1910vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 6)); 1918vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 5)); 1926vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 4)); 1934vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 3)); 1942vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 2)); 1949end.StoreUnsafe(ref dRef, endIndex - (uint)Vector256<T>.Count); 2272end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 2448end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 2567end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 2661end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (4)
292(v & Vector256<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 406(v & Vector256<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 531(v & Vector256<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 678(v & Vector256<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (12)
479vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 8)); 486vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 7)); 493vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 6)); 500vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 5)); 507vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 4)); 514vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 3)); 521vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 2)); 528end.StoreUnsafe(ref dRef, endIndex - (uint)Vector256<T>.Count); 820end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 972end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1075end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1157end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (36)
614vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 8)); 623vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 7)); 632vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 6)); 641vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 5)); 650vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 4)); 659vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 3)); 668vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 2)); 675end.StoreUnsafe(ref dRef, endIndex - (uint)Vector256<T>.Count); 1033end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1225end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1352end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 1450end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 2081vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 8)); 2090vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 7)); 2099vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 6)); 2108vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 5)); 2117vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 4)); 2126vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 3)); 2135vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 2)); 2142end.StoreUnsafe(ref dRef, endIndex - (uint)Vector256<T>.Count); 2498end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 2694end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 2825end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 2927end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 3557vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 8)); 3566vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 7)); 3575vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 6)); 3584vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 5)); 3593vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 4)); 3602vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 3)); 3611vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<T>.Count * 2)); 3618end.StoreUnsafe(ref dRef, endIndex - (uint)Vector256<T>.Count); 3970end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 4168end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 4301end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count); 4405end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<T>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (12)
110first.StoreUnsafe(ref destination1Ref, (uint)i); 111second.StoreUnsafe(ref destination2Ref, (uint)i); 123first.StoreUnsafe(ref destination1Ref, (uint)i); 124second.StoreUnsafe(ref destination2Ref, (uint)i); 263first.StoreUnsafe(ref destination1Ref, (uint)i); 264second.StoreUnsafe(ref destination2Ref, (uint)i); 290.StoreUnsafe(ref destination1Ref, (uint)i); 295.StoreUnsafe(ref destination2Ref, (uint)i); 448first.StoreUnsafe(ref destination1Ref, (uint)i); 449second.StoreUnsafe(ref destination2Ref, (uint)i); 475.StoreUnsafe(ref destination1Ref, (uint)i); 480.StoreUnsafe(ref destination2Ref, (uint)i);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToFourOperator.cs (8)
93results.Item1.StoreUnsafe(ref destinationRef, (uint)i); 94results.Item2.StoreUnsafe(ref destinationRef, (uint)(i + Vector256<TOutput>.Count)); 95results.Item3.StoreUnsafe(ref destinationRef, (uint)(i + (Vector256<TOutput>.Count * 2))); 96results.Item4.StoreUnsafe(ref destinationRef, (uint)(i + (Vector256<TOutput>.Count * 3))); 108results.Item1.StoreUnsafe(ref destinationRef, (uint)i); 109results.Item2.StoreUnsafe(ref destinationRef, (uint)(i + Vector256<TOutput>.Count)); 110results.Item3.StoreUnsafe(ref destinationRef, (uint)(i + (Vector256<TOutput>.Count * 2))); 111results.Item4.StoreUnsafe(ref destinationRef, (uint)(i + (Vector256<TOutput>.Count * 3)));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (4)
89lower.StoreUnsafe(ref destinationRef, (uint)i); 90upper.StoreUnsafe(ref destinationRef, (uint)(i + Vector256<TOutput>.Count)); 102lower.StoreUnsafe(ref destinationRef, (uint)i); 103upper.StoreUnsafe(ref destinationRef, (uint)(i + Vector256<TOutput>.Count));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (12)
519vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<TOutput>.Count * 8)); 526vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<TOutput>.Count * 7)); 533vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<TOutput>.Count * 6)); 540vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<TOutput>.Count * 5)); 547vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<TOutput>.Count * 4)); 554vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<TOutput>.Count * 3)); 561vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector256<TOutput>.Count * 2)); 568end.StoreUnsafe(ref dRef, endIndex - (uint)Vector256<TOutput>.Count); 860end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<TOutput>.Count); 1012end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<TOutput>.Count); 1115end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<TOutput>.Count); 1197end.StoreUnsafe(ref dRef, remainder - (uint)Vector256<TOutput>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (2)
90Vector256.LoadUnsafe(ref xRef, (uint)(i + Vector256<TInput>.Count))).StoreUnsafe(ref destinationRef, (uint)i); 103Vector256.LoadUnsafe(ref xRef, (uint)(i + Vector256<TInput>.Count))).StoreUnsafe(ref destinationRef, (uint)i);
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReverseEndianness.cs (2)
312Vector256.StoreUnsafe(TReverser.Reverse(Vector256.LoadUnsafe(ref sourceRef, (uint)i)), ref destRef, (uint)i); 345Vector256.StoreUnsafe(TReverser.Reverse(Vector256.LoadUnsafe(ref sourceRef, (uint)i)), ref destRef, (uint)i);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2510utf16Upper.StoreUnsafe(ref dest, 16);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
840static void ISimdVector<Vector256<T>, T>.StoreUnsafe(Vector256<T> vector, ref T destination, nuint elementOffset) => vector.StoreUnsafe(ref destination, elementOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (2)
1382tempLast.StoreUnsafe(ref buf, (nuint)offset); 1383tempFirst.StoreUnsafe(ref buf, (nuint)lastOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.cs (4)
146tempLast.StoreUnsafe(ref buf, (nuint)offset); 147tempFirst.StoreUnsafe(ref buf, (nuint)lastOffset); 251tempLast.StoreUnsafe(ref buf, (nuint)offset); 252tempFirst.StoreUnsafe(ref buf, (nuint)lastOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (2)
3138result.StoreUnsafe(ref dst, idx); 3147result.StoreUnsafe(ref dst, lastVectorIndex);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.CaseConversion.cs (1)
482Vector256.StoreUnsafe(wide, ref *(ushort*)pDest, elementOffset);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (4)
1913asciiVector.StoreUnsafe(ref asciiBuffer, currentOffsetInElements); 1974asciiVector.GetLower().StoreUnsafe(ref asciiBuffer, 0); // how to store the lower part of a avx512 2001asciiVector.GetLower().StoreUnsafe(ref asciiBuffer, currentOffsetInElements); 2054asciiVector.GetLower().StoreUnsafe(ref asciiBuffer, currentOffsetInElements);
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
139Vector256.StoreUnsafe(complement, ref start, (nuint)offset);