Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd #68880

Closed
VincentBu opened this issue May 5, 2022 · 5 comments · Fixed by #69623
Assignees
Labels
arch-x64 arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows
Milestone

Comments

@VincentBu
Copy link
Contributor

Run: runtime-coreclr jitstress-isas-x86 20220430.1

Failed test:

coreclr windows x64 Checked jitstress_isas_2_x86_nosse3 @ Windows.10.Amd64.Open

- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x64 Checked jitstress_isas_2_x86_nosse3_4 @ Windows.10.Amd64.Open

- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_1_x86_nossse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_1_x86_nosse3_4 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_1_x86_nosse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_x86_nosse3_4 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_x86_nosse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x64 Checked jitstress_isas_x86_nossse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

Error message:

Return code:      1
Raw output file:      C:\h\w\A7450908\w\BCE50A54\uploads\Reports\Interop.COM\NETClients\Primitives\NETClientPrimitivesInALC\NETClientPrimitivesInALC.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\A7450908\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  NETClientPrimitivesInALC.dll
Numeric RNG seed: 37
Byte test invariant: 101 + 70 = 171
Int16 test invariant: 22885 + -29882 = -6997
UInt16 test invariant: 22885 + 35654 = 58539
Int32 test invariant: 120215909 + 1447004998 = 1567220907
UInt32 test invariant: 120215909 + 1447004998 = 1567220907
Int64 test invariant: 120215909 + 1447004998 = 1567220907
UInt64 test invariant: 120215909 + 1447004998 = 1567220907
Single test invariant: 1202159.1 + 14470051 = 15672210
Double test invariant: 1202159.09 + 14470049.98 = 15672209.07
Int32 11 test invariant: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 = 66
Int32 12 test invariant: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 = 78
Byte[] marshalling
Int16[] marshalling
UInt16[] marshalling
Int32[] marshalling
UInt32[] marshalling
Int64[] marshalling
UInt64[] marshalling
Single[] marshalling
Double[] marshalling
Marshal strings as LPStr
Test object interop failure: System.PlatformNotSupportedException: Operation is not supported on this platform.
at System.Runtime.Intrinsics.X86.Ssse3.Shuffle(Vector1281 value, Vector1281 mask)
at System.SpanHelpers.Reverse(Char& buf, UIntPtr length)
at NetClient.StringTests.Reverse(String s)
at NetClient.StringTests.Marshal_LPString()
at NetClient.StringTests.Run()
at NetClient.Program.RunTests()
at NetClient.Program.Main(String[] doNotUse)
Unload succeeded - C:\h\w\A7450908\w\BCE50A54\e\Interop\COM\NETClients\Primitives\NETClientPrimitivesInALC\NETClientPrimitives.dll
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=C:\h\w\A7450908\p
C:\h\w\A7450908\w\BCE50A54\e\Interop\COM\NETClients\Primitives\NETClientPrimitivesInALC\NETClientPrimitivesInALC.cmd
Expected: True
Actual:   False


Stack trace
   at Interop_COM._NETClients_Primitives_NETClientPrimitivesInALC_NETClientPrimitivesInALC_._NETClients_Primitives_NETClientPrimitivesInALC_NETClientPrimitivesInALC_cmd()
Queued OS Arch Pipeline
2022-05-01T06:01:27.297Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nossse3
2022-05-01T05:36:41.64Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3_4
2022-05-01T05:33:41.431Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nossse3
2022-05-01T05:25:02.888Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3
2022-05-01T04:49:41.976Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3_4
2022-05-01T04:43:42.237Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3
2022-05-01T03:21:03.118Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nossse3
2022-05-01T03:06:09.659Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nossse3
2022-05-01T02:56:10.918Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3_4
2022-05-01T02:34:44.433Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3
2022-05-01T02:29:48.601Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3_4
2022-05-01T02:26:51.37Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3
2022-05-01T00:54:49.374Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nossse3
2022-05-01T00:49:52.446Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nossse3
2022-05-01T00:20:08.365Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3_4
2022-05-01T00:18:41.65Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3_4
2022-05-01T00:16:09.425Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3
2022-05-01T00:14:51.603Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3
2022-04-03T04:21:02.365Z windows.10.arm64v8.open arm64 runtime-coreclr r2r-extra Checked-jitstress2
2022-04-03T00:48:24.021Z windows.10.arm64v8.open arm64 runtime-coreclr gcstress-extra Checked-gcstress0xc_jitstress2
2022-04-02T23:35:43.867Z windows.10.arm64v8.open arm64 runtime-coreclr gcstress-extra Checked-gcstress0xc_zapdisable_jitstress2
2022-04-02T20:59:14.041Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs0x1000
2022-04-02T20:54:11.689Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs0x80
2022-04-02T20:47:32.844Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs0x10
2022-04-02T20:40:16.692Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-04-02T19:17:45.894Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs3
2022-04-02T19:17:44.918Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs2
2022-04-02T19:17:43.989Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs4
2022-04-02T19:17:43.082Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-04-02T05:58:23.522Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-03-20T05:08:50.614Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse2
2022-03-20T02:53:49.325Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse2
2022-03-20T00:00:49.333Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse2
2022-03-13T05:38:43.65Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse2
2022-03-13T03:02:08.401Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse2
2022-03-13T00:47:35.705Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse2
2022-03-12T21:34:18.369Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_nosimd
@VincentBu VincentBu added arch-x86 os-windows JitStress CLR JIT issues involving JIT internal stress modes arch-x64 blocking-clean-ci-optional Blocking optional rolling runs labels May 5, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 5, 2022
@dotnet-issue-labeler dotnet-issue-labeler bot added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed untriaged New issue has not been triaged by the area owner labels May 5, 2022
@ghost
Copy link

ghost commented May 5, 2022

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime-coreclr jitstress-isas-x86 20220430.1

Failed test:

coreclr windows x64 Checked jitstress_isas_2_x86_nosse3 @ Windows.10.Amd64.Open

- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x64 Checked jitstress_isas_2_x86_nosse3_4 @ Windows.10.Amd64.Open

- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_1_x86_nossse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_1_x86_nosse3_4 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_1_x86_nosse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_x86_nosse3_4 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x86 Checked jitstress_isas_x86_nosse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

coreclr windows x64 Checked jitstress_isas_x86_nossse3 @ Windows.10.Amd64.Open
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitives\\NETClientPrimitives.cmd
- Interop\\COM\\NETClients\\Primitives\\NETClientPrimitivesInALC\\NETClientPrimitivesInALC.cmd
- Interop\\COM\\NativeClients\\Primitives\\Primitives.cmd

Error message:

Return code:      1
Raw output file:      C:\h\w\A7450908\w\BCE50A54\uploads\Reports\Interop.COM\NETClients\Primitives\NETClientPrimitivesInALC\NETClientPrimitivesInALC.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\A7450908\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  NETClientPrimitivesInALC.dll
Numeric RNG seed: 37
Byte test invariant: 101 + 70 = 171
Int16 test invariant: 22885 + -29882 = -6997
UInt16 test invariant: 22885 + 35654 = 58539
Int32 test invariant: 120215909 + 1447004998 = 1567220907
UInt32 test invariant: 120215909 + 1447004998 = 1567220907
Int64 test invariant: 120215909 + 1447004998 = 1567220907
UInt64 test invariant: 120215909 + 1447004998 = 1567220907
Single test invariant: 1202159.1 + 14470051 = 15672210
Double test invariant: 1202159.09 + 14470049.98 = 15672209.07
Int32 11 test invariant: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 = 66
Int32 12 test invariant: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 = 78
Byte[] marshalling
Int16[] marshalling
UInt16[] marshalling
Int32[] marshalling
UInt32[] marshalling
Int64[] marshalling
UInt64[] marshalling
Single[] marshalling
Double[] marshalling
Marshal strings as LPStr
Test object interop failure: System.PlatformNotSupportedException: Operation is not supported on this platform.
at System.Runtime.Intrinsics.X86.Ssse3.Shuffle(Vector1281 value, Vector1281 mask)
at System.SpanHelpers.Reverse(Char& buf, UIntPtr length)
at NetClient.StringTests.Reverse(String s)
at NetClient.StringTests.Marshal_LPString()
at NetClient.StringTests.Run()
at NetClient.Program.RunTests()
at NetClient.Program.Main(String[] doNotUse)
Unload succeeded - C:\h\w\A7450908\w\BCE50A54\e\Interop\COM\NETClients\Primitives\NETClientPrimitivesInALC\NETClientPrimitives.dll
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=C:\h\w\A7450908\p
C:\h\w\A7450908\w\BCE50A54\e\Interop\COM\NETClients\Primitives\NETClientPrimitivesInALC\NETClientPrimitivesInALC.cmd
Expected: True
Actual:   False


Stack trace
   at Interop_COM._NETClients_Primitives_NETClientPrimitivesInALC_NETClientPrimitivesInALC_._NETClients_Primitives_NETClientPrimitivesInALC_NETClientPrimitivesInALC_cmd()
Queued OS Arch Pipeline
2022-05-01T06:01:27.297Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nossse3
2022-05-01T05:36:41.64Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3_4
2022-05-01T05:33:41.431Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nossse3
2022-05-01T05:25:02.888Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3
2022-05-01T04:49:41.976Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3_4
2022-05-01T04:43:42.237Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse3
2022-05-01T03:21:03.118Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nossse3
2022-05-01T03:06:09.659Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nossse3
2022-05-01T02:56:10.918Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3_4
2022-05-01T02:34:44.433Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3
2022-05-01T02:29:48.601Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3_4
2022-05-01T02:26:51.37Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse3
2022-05-01T00:54:49.374Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nossse3
2022-05-01T00:49:52.446Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nossse3
2022-05-01T00:20:08.365Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3_4
2022-05-01T00:18:41.65Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3_4
2022-05-01T00:16:09.425Z windows.10.amd64.open.rt x86 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3
2022-05-01T00:14:51.603Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse3
2022-04-03T04:21:02.365Z windows.10.arm64v8.open arm64 runtime-coreclr r2r-extra Checked-jitstress2
2022-04-03T00:48:24.021Z windows.10.arm64v8.open arm64 runtime-coreclr gcstress-extra Checked-gcstress0xc_jitstress2
2022-04-02T23:35:43.867Z windows.10.arm64v8.open arm64 runtime-coreclr gcstress-extra Checked-gcstress0xc_zapdisable_jitstress2
2022-04-02T20:59:14.041Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs0x1000
2022-04-02T20:54:11.689Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs0x80
2022-04-02T20:47:32.844Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs0x10
2022-04-02T20:40:16.692Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs8
2022-04-02T19:17:45.894Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs3
2022-04-02T19:17:44.918Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs2
2022-04-02T19:17:43.989Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs4
2022-04-02T19:17:43.082Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress2-jitstressregs Checked-jitstress2_jitstressregs1
2022-04-02T05:58:23.522Z windows.10.arm64v8.open arm64 runtime-coreclr jitstress Checked-jitstress2
2022-03-20T05:08:50.614Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse2
2022-03-20T02:53:49.325Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse2
2022-03-20T00:00:49.333Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse2
2022-03-13T05:38:43.65Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_2_x86_nosse2
2022-03-13T03:02:08.401Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_1_x86_nosse2
2022-03-13T00:47:35.705Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_x86_nosse2
2022-03-12T21:34:18.369Z windows.10.amd64.open.rt x64 runtime-coreclr jitstress-isas-x86 Checked-jitstress_isas_nosimd
Author: VincentBu
Assignees: -
Labels:

arch-x86, os-windows, JitStress, arch-x64, area-CodeGen-coreclr, blocking-clean-ci-optional

Milestone: -

@JulieLeeMSFT
Copy link
Member

cc @dotnet/jit-contrib. This test is consistently failing in CI.
@AndyAyersMS PTAL.

@JulieLeeMSFT JulieLeeMSFT added this to the 7.0.0 milestone May 20, 2022
@AndyAyersMS
Copy link
Member

AndyAyersMS commented May 20, 2022

We should disable the test for now

Seems like the fix is obvious.

@AndyAyersMS
Copy link
Member

Likely introduced by #64412.

@AndyAyersMS
Copy link
Member

Seems like the logic is off here:

else if (Sse2.IsSupported && (nuint)Vector128<byte>.Count * 2 <= length)
{
Vector128<byte> reverseMask = Vector128.Create((byte)15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0);
nuint numElements = (nuint)Vector128<byte>.Count;
nuint numIters = (length / numElements) / 2;
for (nuint i = 0; i < numIters; i++)
{
nuint firstOffset = i * numElements;
nuint lastOffset = length - ((1 + i) * numElements);
// Load in values from beginning and end of the array.
Vector128<byte> tempFirst = Vector128.LoadUnsafe(ref buf, firstOffset);
Vector128<byte> tempLast = Vector128.LoadUnsafe(ref buf, lastOffset);
// Shuffle to reverse each vector:
// +---------------------------------------------------------------+
// | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P |
// +---------------------------------------------------------------+
// --->
// +---------------------------------------------------------------+
// | P | O | N | M | L | K | J | I | H | G | F | E | D | C | B | A |
// +---------------------------------------------------------------+
tempFirst = Ssse3.Shuffle(tempFirst, reverseMask);
tempLast = Ssse3.Shuffle(tempLast, reverseMask);

and here

else if (Sse2.IsSupported && (nuint)Vector128<short>.Count * 2 <= length)
{
Vector128<byte> reverseMask = Vector128.Create((byte)14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1);
nuint numElements = (nuint)Vector128<byte>.Count;
nuint numIters = ((length * sizeof(char)) / numElements) / 2;
for (nuint i = 0; i < numIters; i++)
{
nuint firstOffset = i * numElements;
nuint lastOffset = byteLength - ((1 + i) * numElements);
// Load in values from beginning and end of the array.
Vector128<byte> tempFirst = Vector128.LoadUnsafe(ref bufByte, firstOffset);
Vector128<byte> tempLast = Vector128.LoadUnsafe(ref bufByte, lastOffset);
// Shuffle to reverse each vector:
// +-------------------------------+
// | A | B | C | D | E | F | G | H |
// +-------------------------------+
// --->
// +-------------------------------+
// | H | G | F | E | D | C | B | A |
// +-------------------------------+
tempFirst = Ssse3.Shuffle(tempFirst, reverseMask);
tempLast = Ssse3.Shuffle(tempLast, reverseMask);

We are checking if SSE2 is supported and then using SSSE3 instructions.

AndyAyersMS added a commit to AndyAyersMS/runtime that referenced this issue May 20, 2022
We were checking for SSE2 support and then using SSSE3 instructions.

Fixes dotnet#68880.
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label May 20, 2022
AndyAyersMS added a commit that referenced this issue May 21, 2022
…69623)

We were checking for SSE2 support and then using SSSE3 instructions.

Fixes #68880.
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label May 21, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants