Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Standart.Hash.xxHash/xxHash128.XXH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private static ulong XXH_mult32to64(ulong x, ulong y)
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static uint128 XXH_mult64to128(ulong lhs, ulong rhs)
{
if (Bmi2.IsSupported)
if (Bmi2.X64.IsSupported)
return XXH_mult64to128_bmi2(lhs, rhs);

return XXH_mult64to128_scalar(lhs, rhs);
Expand Down Expand Up @@ -138,4 +138,4 @@ private static unsafe void XXH_writeLE64(byte* dst, ulong v64)
*(ulong*) dst = v64;
}
}
}
}
4 changes: 2 additions & 2 deletions src/Standart.Hash.xxHash/xxHash3.XXH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private static unsafe void XXH_writeLE64(byte* dst, ulong v64)
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static uint128 XXH_mult64to128(ulong lhs, ulong rhs)
{
if (Bmi2.IsSupported)
if (Bmi2.X64.IsSupported)
return XXH_mult64to128_bmi2(lhs, rhs);

return XXH_mult64to128_scalar(lhs, rhs);
Expand Down Expand Up @@ -131,4 +131,4 @@ private static uint128 XXH_mult64to128_scalar(ulong lhs, ulong rhs)
return r128;
}
}
}
}