Skip to content

Vectors tests fail on native AOT #127494

@MichalStrehovsky

Description

@MichalStrehovsky

Failing in native AOT outerloops:

[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector256Tests.ConvertToInt32Test
Assert.Equal() Failure: Values differ
Expected: <-2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648>
Actual:   <0, 0, 0, 0, 0, 2, 0, 0>
   at System.Runtime.Intrinsics.Tests.Vectors.Vector256Tests.ConvertToInt32Test() in /_/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector256Tests.cs:line 6585
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) in /_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/DynamicInvokeInfo.cs:line 230
[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector512Tests.ConvertToInt32Test
Assert.Equal() Failure: Values differ
Expected: <-2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648>
Actual:   <0, 0, 0, 0, 0, 2, 0, 0, 3, 2, 0, 3, -2147483648, -2147483648, -2147483648, -2147483648>
   at System.Runtime.Intrinsics.Tests.Vectors.Vector512Tests.ConvertToInt32Test() in /_/src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector512Tests.cs:line 6368
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) in /_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/DynamicInvokeInfo.cs:line 230
Finished System.Runtime.Intrinsics.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

Tests run: 12944, Errors: 0, Failures: 2, Skipped: 0. Time: 0.4566399s
/root/helix/work/workitem/e
----- end Fri Apr 24 22:39:38 UTC 2026 ----- exit code 1 ----------------------------------------------------------

Broke between commits 2adc1e0 and a5840f3 so most likely #127124 Cc @EgorBo

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions