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 53d078d commit c6d4dd9Copy full SHA for c6d4dd9
src/ImageSharp/Common/Helpers/SimdUtils.cs
@@ -50,7 +50,7 @@ internal static Vector<float> FastRound(this Vector<float> v)
50
{
51
#if SUPPORTS_RUNTIME_INTRINSICS
52
53
- if (Avx.IsSupported)
+ if (Avx2.IsSupported)
54
55
ref Vector256<float> v256 = ref Unsafe.As<Vector<float>, Vector256<float>>(ref v);
56
Vector256<float> vRound = Avx.RoundToNearestInteger(v256);
0 commit comments