Skip to content

Commit c6d4dd9

Browse files
Update src/ImageSharp/Common/Helpers/SimdUtils.cs
Co-authored-by: Anton Firszov <[email protected]>
1 parent 53d078d commit c6d4dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Common/Helpers/SimdUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal static Vector<float> FastRound(this Vector<float> v)
5050
{
5151
#if SUPPORTS_RUNTIME_INTRINSICS
5252

53-
if (Avx.IsSupported)
53+
if (Avx2.IsSupported)
5454
{
5555
ref Vector256<float> v256 = ref Unsafe.As<Vector<float>, Vector256<float>>(ref v);
5656
Vector256<float> vRound = Avx.RoundToNearestInteger(v256);

0 commit comments

Comments
 (0)