Skip to content

Commit 805c7c4

Browse files
Merge branch 'js/xplat-intrinsics' of https://github.com/SixLabors/ImageSharp into js/xplat-intrinsics
2 parents 9d737b7 + 68b7dbc commit 805c7c4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ImageSharp/Common/Helpers/SimdUtils.HwIntrinsics.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@ private static Vector256<byte> ShuffleMaskShiftAlpha() => Vector256.Create(
4949
0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14, 3, 7, 11, 15);
5050

5151
[MethodImpl(MethodImplOptions.AggressiveInlining)]
52-
public static Vector256<uint> PermuteMaskShiftAlpha8x32()
53-
=> Vector256.Create(
54-
0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 4, 0, 0, 0,
55-
5, 0, 0, 0, 6, 0, 0, 0, 3, 0, 0, 0, 7, 0, 0, 0).AsUInt32();
52+
public static Vector256<uint> PermuteMaskShiftAlpha8x32() => Vector256.Create(0u, 1, 2, 4, 5, 6, 3, 7);
5653
#pragma warning restore SA1137 // Elements should have the same indentation
5754
#pragma warning restore SA1117 // Parameters should be on same line or separate lines
5855

0 commit comments

Comments
 (0)