Optimize and extend System.Array intrinsic identification. (mono/mono#17047)
authorJay Krell <jaykrell@microsoft.com>
Sun, 6 Oct 2019 08:27:42 +0000 (01:27 -0700)
committerMarek Safar <marek.safar@gmail.com>
Sun, 6 Oct 2019 08:27:42 +0000 (10:27 +0200)
commite1ee50c9fdd9b565d34dde382e5af86df51b9892
tree286f29b5f6c09216c7cee5a0abcc073a1ff724de
parentfb39523d66c841c8f575725a30ece7ea08b9bab9
Optimize and extend System.Array intrinsic identification. (mono/mono#17047)

* Optimize and extend System.Array intrinsic identification.
i.e. do the strcmp last.
Add GetRawArrayData.

* Use [Intrinsic] attribute instead of comment.

Commit migrated from https://github.com/mono/mono/commit/f57af77e69ebe0f47da00716cef4a8ff5ec9d9fc
src/mono/mono/mini/intrinsics.c
src/mono/netcore/System.Private.CoreLib/src/System/Array.cs