[corlib] Icall for Buffer.Memcpy
commitef78b582a18b6a9124c3773e5a4011b37e28b8da
authorVlad Brezae <brezaevlad@gmail.com>
Mon, 15 Oct 2018 14:09:52 +0000 (15 17:09 +0300)
committerMarek Safar <marek.safar@gmail.com>
Mon, 5 Nov 2018 20:09:55 +0000 (5 21:09 +0100)
treea55f6a88a7d361cadb1f287d1bc944eb6f754bc3
parent0947b7b289226e9bde3d791c8409f831d64b5332
[corlib] Icall for Buffer.Memcpy

Jitted code is too slow. For larger sizes, doing an icall to memcpy is 4-5 times faster than using the managed implementation.
configure.ac
mcs/class/corlib/ReferenceSources/Buffer.cs
mono/metadata/icall-decl.h
mono/metadata/icall-def.h
mono/metadata/icall.c