[Mono-list] System.Numerics.Vector not accelerated

Natalia Portillo claunia at claunia.com
Tue May 16 12:59:23 UTC 2017


Hi all,

I've created a little test of MD5 using the System.Cryptography implementation as well as Mono.Simd and System.Numerics.Vectors.

I've got the following unexpected results:
1.- IsHardwareAccelerated is false in Mono 5.0.0.100 in Linux and macOS. It's true in Windows .NET (VS2017 sdk)
2.- Vectors is THOUSANDS of times slower than crypto, managed and mono.simd versions even when accelerated.
3.- Mono.Simd is still slower than just managed.

I don't know if this is a bug or I'm using the intrinsics in an inadequate way.

The code is available for inspection in https://github.com/claunia/TestSIMD

Regards,
Natalia Portillo
Sent from my iPhone


More information about the Mono-list mailing list