Skip to content

Commit

Permalink
Fix size used for vectorization check in BitArray (dotnet#111558)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsBalin committed Feb 11, 2025
1 parent b1ab309 commit b3e4f10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ public unsafe void CopyTo(Array array, int index)
}
}
}
else if (Ssse3.IsSupported && ((uint)m_length >= Vector512<byte>.Count * 2u))
else if (Ssse3.IsSupported && ((uint)m_length >= Vector128<byte>.Count * 2u))
{
Vector128<byte> lowerShuffleMask = lowerShuffleMask_CopyToBoolArray;
Vector128<byte> upperShuffleMask = upperShuffleMask_CopyToBoolArray;
Expand Down

0 comments on commit b3e4f10

Please sign in to comment.