Ensure that the S.N.Vector methods are marked as [Intrinsic] and that the attribute...
commitfbfe1a8fc2b1f799ba77015d193b8cd0866cef09
authorTanner Gooding <tagoo@outlook.com>
Fri, 21 Dec 2018 21:13:21 +0000 (21 13:13 -0800)
committerMarek Safar <marek.safar@gmail.com>
Sat, 22 Dec 2018 10:16:14 +0000 (22 11:16 +0100)
tree5784ebd6f192a788441ea492dba0be9f7cbaba79
parent48fe8a78c30d77d4beb5da14a8ebe11129730e56
Ensure that the S.N.Vector methods are marked as [Intrinsic] and that the attribute is respected by the runtime (#21601)

* Updating the SIMD intrinsics to check for the `[Intrinsic]` attribute

* Ensure that the existing Vector/Vector<T> intrinsic methods are marked as such.

* Fixing Vector<T>.DotProduct and Vector.AndNot to be treated as intrinsic

* Fixing `SIMDIntrinsicBitwiseAndNot` to swap the operands for XARCH

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/Numerics/Vector.cs
netcore/System.Private.CoreLib/shared/System/Numerics/Vector.tt
netcore/System.Private.CoreLib/shared/System/Numerics/Vector_Operations.cs