Inline SIMD

This commit is contained in:
Oleksandr Melnyk 2022-06-05 20:28:15 +03:00
parent d64922c63b
commit a1f73a7de0

View File

@ -470,6 +470,7 @@ namespace Standart.Hash.xxHash
XXH3_scrambleAcc_scalar(acc, secret);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static unsafe void XXH3_scrambleAcc_avx2(ulong* acc, byte* secret)
{
const int m256i_size = 32;
@ -494,6 +495,7 @@ namespace Standart.Hash.xxHash
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static unsafe void XXH3_scrambleAcc_sse2(ulong* acc, byte* secret)
{
const int m128i_size = 16;