We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ffeea commit cdf6eedCopy full SHA for cdf6eed
src/ImageSharp/Common/Helpers/SimdUtils.HwIntrinsics.cs
@@ -194,7 +194,7 @@ public static void Shuffle4Slice3Reduce(
194
{
195
if (Ssse3.IsSupported)
196
197
- int remainder = source.Length & (Vector128<byte>.Count * 4 - 1); // bit-hack for modulo
+ int remainder = source.Length & ((Vector128<byte>.Count * 4) - 1); // bit-hack for modulo
198
199
int sourceCount = source.Length - remainder;
200
int destCount = (int)((uint)sourceCount * 3 / 4);
0 commit comments