You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bad importation for IsNegative and IsPositive for FP types
With DOTNET_EnableAVX2=0, this hits Assertion failed 'comp->compIsaSupportedDebugOnly(InstructionSet_AVX2)' in 'TestClass:Method1():System.Runtime.Intrinsics.Vector2561[double]' during 'Importation`:
[MethodImpl(MethodImplOptions.NoInlining)]
public static Vector256<double> Method1()
{
return Vector256.IsNegative(s_v256_double);
}
This gets Assertion failed '(simdSize == 16) || ((simdSize == 32) && compOpportunisticallyDependsOn(InstructionSet_AVX2))' during 'Importation':
[MethodImpl(MethodImplOptions.NoInlining)]
public static Vector256<float> Method81()
{
return Vector256.IsPositive(s_v256_float);
}
Activity
dotnet-policy-service commentedon Sep 17, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
Fix XARCH importation of isPositive and isNegative (#134151)