Skip to content

Commit

Permalink
saving...
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Aug 24, 2024
1 parent e7e063b commit e09114c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/UTF8ValidationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private static bool IsSystemSupported(TestSystemRequirements requiredSystems)
switch (RuntimeInformation.ProcessArchitecture)
{
case Architecture.Arm64:
return requiredSystems.HasFlag(TestSystemRequirements.Arm64);
return requiredSystems.HasFlag(TestSystemRequirements.Arm64) && AdvSimd.Arm64.IsSupported && BitConverter.IsLittleEndian;
case Architecture.X64:
return (requiredSystems.HasFlag(TestSystemRequirements.X64Avx512) && Vector512.IsHardwareAccelerated && System.Runtime.Intrinsics.X86.Avx512F.IsSupported) ||
(requiredSystems.HasFlag(TestSystemRequirements.X64Avx2) && System.Runtime.Intrinsics.X86.Avx2.IsSupported) ||
Expand Down

0 comments on commit e09114c

Please sign in to comment.