[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

[LoongArch64] Enable Runtime Async. (issue#124935) - #125114

Merged
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async
Mar 11, 2026
Merged

[LoongArch64] Enable Runtime Async. (issue#124935)#125114
jakobbotsch merged 4 commits into
dotnet:mainfrom
LuckyXu-HF:main-LA64-async

Conversation

@LuckyXu-HF

@LuckyXu-HFLuckyXu-HF commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

* Enable Runtime Async of LoongArch64 dotnet#124935
* Fix up hijacking on loongarch64 (preserve async continuation register).
* Revert `lvaAsyncExecutionContextVar, lvaAsyncSynchronizationContextVar` related offset according to LA64's frame layout.
Comment threadsrc/coreclr/jit/lclvars.cpp
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT.
No CoreRoot test increased failed on LA64 related to these two PRs.

@LuckyXu-HF
LuckyXu-HF marked this pull request as ready for review March 10, 2026 09:21
@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

@shushanhf@jakobbotsch@MichalStrehovsky could you please review this PR? Thanks.

@LuckyXu-HF

Copy link
Copy Markdown
ContributorAuthor

Based on this PR and #124213 , the https://github.com/dotnet/runtime/tree/main/src/tests/async tests passed on JIT/R2R(use SPC-PE32+)/NativeAOT. No CoreRoot test increased failed on LA64 related to these two PRs.

Note that the 10 failed under Debug-CoreRoot test is not introduce by these two PR, will investigate separately.

CoreRoot TestTotalPassedFailedSkippedTimePassRate
Release-CoreRoot-SPC-PE32+147031448602172240.654s100%
Debug-CoreRoot-SPC-PE32+14703144761021710194.530s99.93%
Checked-CoreRoot-SPC-PE32+147031448602173911.957s100%
libs.testscategoryTotalPassedErrorsFailedSkippedTimePassRate
Release-libs.tests-SPC-PE32+2587176577159260517263386.93s99.99%

NativeAOT Release/Debug/Checked async tests:

Release:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
35.218 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
35.218 | 69 | 65 | 0 | 4 | (total)
Debug:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
47.659 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
47.659 | 69 | 65 | 0 | 4 | (total)
Checked:
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
37.511 | 69 | 65 | 0 | 4 | async.async
----------------------------------------------------------------------------
37.511 | 69 | 65 | 0 | 4 | (total)
Release-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
6.455 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
31.793 | 38 | 38 | 0 | 0 | baseservices.baseservices
4.981 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
2.376 | 18 | 18 | 0 | 0 | JIT.JIT_r
0.265 | 3 | 3 | 0 | 0 | JIT.JIT_do
75.448 | 104 | 104 | 0 | 0 | GC.GC
0.446 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
6.855 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
15.454 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
2.934 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
7.020 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
0.236 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
10.145 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
2.258 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.066 | 0 | 0 | 0 | 0 | managed.Managed
0.156 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
60.327 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
151.592 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
3.083 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
363.458 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
0.831 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
87.847 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
1.543 | 18 | 18 | 0 | 0 | JIT.JIT_ro
0.341 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
3.910 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
57.429 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
13.281 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
31.410 | 89 | 89 | 0 | 0 | Regressions.Regressions
4.492 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
61.347 | 388 | 388 | 0 | 0 | Loader.Loader
61.477 | 19 | 19 | 0 | 0 | readytorun.readytorun
4.714 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.185 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
0.202 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
76.339 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.273 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
37.330 | 72 | 69 | 0 | 3 | async.async
0.482 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
0.964 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
23.569 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
1.589 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
0.195 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
1.178 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
0.572 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
0.936 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
6.381 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.156 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
2.192 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
3.479 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
66.979 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
282.685 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
179.023 | 13 | 13 | 0 | 0 | JIT.JIT_others
20.149 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.125 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.166 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
0.522 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
112.875 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
19.535 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
0.568 | 2 | 2 | 0 | 0 | JIT.JIT_d
14.377 | 28 | 28 | 0 | 0 | profiler.profiler
3.831 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
5.531 | 262 | 235 | 0 | 27 | Interop.Interop
259.773 | 45 | 45 | 0 | 0 | GC.Features.GC-features
3.320 | 37 | 37 | 0 | 0 | tracing.tracing
0.656 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.127 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
2.551 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
1.335 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
24.218 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
6.135 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
0.965 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.104 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
0.441 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
3.103 | 17 | 17 | 0 | 0 | reflection.reflection
0.517 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
0.339 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
0.585 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
2240.654 | 14703 | 14486 | 0 | 217 | (total)
Debug-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
32.663 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
124.983 | 38 | 38 | 0 | 0 | baseservices.baseservices
67.271 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
27.385 | 18 | 18 | 0 | 0 | JIT.JIT_r
4.180 | 3 | 3 | 0 | 0 | JIT.JIT_do
417.969 | 104 | 104 | 0 | 0 | GC.GC
7.352 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
2.132 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
123.024 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
705.550 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
43.991 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
91.490 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
3.588 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
111.546 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
55.125 | 118 | 117 | 1 | 0 | JIT.Regression.Regression_3
0.837 | 0 | 0 | 0 | 0 | managed.Managed
1.833 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
208.489 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
332.881 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
41.966 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
441.463 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
16.189 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
31.310 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
26.134 | 18 | 18 | 0 | 0 | JIT.JIT_ro
6.340 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
41.668 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
76.616 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
308.624 | 88 | 87 | 1 | 0 | JIT.Regression.Regression_4
430.639 | 89 | 89 | 0 | 0 | Regressions.Regressions
24.582 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
361.939 | 388 | 388 | 0 | 0 | Loader.Loader
311.758 | 19 | 19 | 0 | 0 | readytorun.readytorun
22.292 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
1.379 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
14.623 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
435.689 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
7.668 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
76.904 | 72 | 69 | 0 | 3 | async.async
6.615 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
17.386 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
408.490 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
12.742 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
5.787 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
21.843 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
8.260 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
16.160 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
69.632 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
2.148 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
8.976 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
38.608 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
665.131 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
1117.839 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
347.832 | 13 | 13 | 0 | 0 | JIT.JIT_others
349.203 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
1.776 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
2.462 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
9.704 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
218.847 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
131.341 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
4.199 | 2 | 2 | 0 | 0 | JIT.JIT_d
272.132 | 28 | 28 | 0 | 0 | profiler.profiler
15.928 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
151.807 | 262 | 235 | 0 | 27 | Interop.Interop
485.921 | 45 | 45 | 0 | 0 | GC.Features.GC-features
37.076 | 37 | 37 | 0 | 0 | tracing.tracing
7.318 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
4.366 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
64.331 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
34.097 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
263.622 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
226.918 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
23.280 | 405 | 397 | 8 | 0 | JIT.IL_Conformance.IL_Conformance
1.580 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
10.338 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
68.243 | 17 | 17 | 0 | 0 | reflection.reflection
9.932 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
6.671 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
5.917 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
10194.530 | 14703 | 14476 | 10 | 217 | (total)
Creating repro files at: /home/xuliangyu/runtime/artifacts/log/repro
Skipping repro for merged test: _rem::main (JIT/Regression/JitBlue/DevDiv_405852/DevDiv_405852/DevDiv_405852.dll) (JIT.Regression.Regression_3)
Skipping repro for merged test: _rem::main (JIT/Regression/VS-ia64-JIT/M00/b109878/b109878/b109878.dll) (JIT.Regression.Regression_4)
Skipping repro for merged test: add_r4::main (JIT/IL_Conformance/Old/Conformance_Base/add_r4/add_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: div_r4::main (JIT/IL_Conformance/Old/Conformance_Base/div_r4/div_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r4::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r4/mul_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: mul_r8::main (JIT/IL_Conformance/Old/Conformance_Base/mul_r8/mul_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r4::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r4/rem_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: rem_r8::main (JIT/IL_Conformance/Old/Conformance_Base/rem_r8/rem_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r4::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r4/sub_r4.dll) (JIT.IL_Conformance.IL_Conformance)
Skipping repro for merged test: sub_r8::main (JIT/IL_Conformance/Old/Conformance_Base/sub_r8/sub_r8.dll) (JIT.IL_Conformance.IL_Conformance)
Checked-CoreRoot-SPC-PE32+ test detail
Time [secs] | Total | Passed | Failed | Skipped | Assembly Execution Summary
============================================================================
13.919 | 113 | 113 | 0 | 0 | JIT.Regression.Regression_1
60.149 | 38 | 38 | 0 | 0 | baseservices.baseservices
20.006 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_ro
9.371 | 18 | 18 | 0 | 0 | JIT.JIT_r
1.116 | 3 | 3 | 0 | 0 | JIT.JIT_do
154.796 | 104 | 104 | 0 | 0 | GC.GC
2.935 | 55 | 52 | 0 | 3 | CoreMangLib.CoreMangLib
0.664 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_5
38.368 | 398 | 396 | 0 | 2 | JIT.Methodical.Methodical_r1
144.567 | 215 | 215 | 0 | 0 | JIT.Directed.Directed_2
15.275 | 246 | 246 | 0 | 0 | JIT.Generics.JIT.Generics
28.601 | 231 | 231 | 0 | 0 | JIT.Directed.Directed_3
1.630 | 23 | 23 | 0 | 0 | JIT.Regression.Regression_PdbOnly_ro
31.067 | 394 | 392 | 0 | 2 | JIT.Methodical.Methodical_d1
14.026 | 118 | 118 | 0 | 0 | JIT.Regression.Regression_3
0.187 | 0 | 0 | 0 | 0 | managed.Managed
0.703 | 13 | 13 | 0 | 0 | JIT.Regression.Regression_8
120.072 | 75 | 75 | 0 | 0 | baseservices.threading.threading_group1
182.841 | 232 | 232 | 0 | 0 | JIT.jit64.jit64_5
15.001 | 310 | 306 | 0 | 4 | JIT.Methodical.Methodical_r2
199.489 | 100 | 100 | 0 | 0 | JIT.Performance.JIT.performance
4.053 | 290 | 290 | 0 | 0 | JIT.Regression.Regression_6
151.322 | 123 | 122 | 0 | 1 | JIT.Regression.Regression_PdbOnly_r_2
8.364 | 18 | 18 | 0 | 0 | JIT.JIT_ro
2.832 | 2 | 2 | 0 | 0 | Exceptions.Exceptions
14.032 | 116 | 116 | 0 | 0 | JIT.SIMD.JIT.SIMD
64.656 | 88 | 88 | 0 | 0 | baseservices.threading.threading_group2
42.083 | 88 | 88 | 0 | 0 | JIT.Regression.Regression_4
110.933 | 89 | 89 | 0 | 0 | Regressions.Regressions
7.927 | 161 | 158 | 0 | 3 | JIT.Regression.Regression_o_1
130.993 | 388 | 388 | 0 | 0 | Loader.Loader
150.110 | 19 | 19 | 0 | 0 | readytorun.readytorun
9.856 | 87 | 84 | 0 | 3 | JIT.Regression.Regression_ro_1
0.415 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r
1.464 | 3 | 3 | 0 | 0 | JIT.Regression.Regression_r_1
157.749 | 51 | 51 | 0 | 0 | GC.Scenarios.GC-scenarios1
0.999 | 19 | 19 | 0 | 0 | JIT.Regression.Regression_do
54.189 | 72 | 69 | 0 | 3 | async.async
1.937 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_do
5.410 | 109 | 109 | 0 | 0 | JIT.Methodical.Methodical_others
113.286 | 2584 | 2584 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_r
2.889 | 163 | 95 | 0 | 68 | JIT.Regression.Regression_o_2
1.120 | 17 | 17 | 0 | 0 | JIT.Regression.Regression_NoOptimize_r_1
6.841 | 112 | 112 | 0 | 0 | Loader.classloader.regressions.LoaderClassloaderRegressions
2.426 | 170 | 170 | 0 | 0 | JIT.Regression.Regression_7
5.208 | 81 | 81 | 0 | 0 | JIT.jit64.jit64_1
20.585 | 273 | 267 | 0 | 6 | JIT.Methodical.Methodical_do
0.508 | 2 | 1 | 0 | 1 | JIT.Regression.Regression_d
3.405 | 168 | 155 | 0 | 13 | JIT.Regression.Regression_o_3
11.674 | 308 | 304 | 0 | 4 | JIT.Methodical.Methodical_d2
156.570 | 1 | 1 | 0 | 0 | readytorun.coreroot_determinism.readytorun_coreroot_determinism
409.096 | 406 | 406 | 0 | 0 | JIT.opt.JIT.opt
251.495 | 13 | 13 | 0 | 0 | JIT.JIT_others
90.598 | 2551 | 2551 | 0 | 0 | JIT.HardwareIntrinsics.HardwareIntrinsics_General_ro
0.373 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_10
0.763 | 29 | 9 | 0 | 20 | JIT.Regression.Regression_9
2.233 | 343 | 343 | 0 | 0 | JIT.jit64.jit64_4
163.897 | 143 | 134 | 0 | 9 | JIT.jit64.jit64_3
42.724 | 91 | 87 | 0 | 4 | JIT.Regression.Regression_2
1.102 | 2 | 2 | 0 | 0 | JIT.JIT_d
71.815 | 28 | 28 | 0 | 0 | profiler.profiler
7.877 | 191 | 188 | 0 | 3 | JIT.Regression.Regression_ro_2
43.773 | 262 | 235 | 0 | 27 | Interop.Interop
323.070 | 45 | 45 | 0 | 0 | GC.Features.GC-features
8.171 | 37 | 37 | 0 | 0 | tracing.tracing
2.654 | 13 | 13 | 0 | 0 | ilasm.ilasm_tests
0.725 | 19 | 18 | 0 | 1 | JIT.Regression.Regression_NoOptimize_d
16.191 | 225 | 225 | 0 | 0 | Loader.classloader.generics.LoaderClassloaderGenerics
9.613 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_3
81.915 | 170 | 156 | 0 | 14 | baseservices.exceptions.baseservices-exceptions
50.870 | 217 | 217 | 0 | 0 | JIT.Directed.Directed_1
6.805 | 405 | 405 | 0 | 0 | JIT.IL_Conformance.IL_Conformance
0.387 | 1 | 1 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_4
2.274 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_d
17.712 | 17 | 17 | 0 | 0 | reflection.reflection
2.645 | 161 | 161 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_r
1.673 | 123 | 123 | 0 | 0 | JIT.Regression.Regression_PdbOnly_r_1
2.890 | 160 | 160 | 0 | 0 | JIT.CodeGenBringUpTests.JIT.CodeGenBringUpTests_ro
----------------------------------------------------------------------------
3911.957 | 14703 | 14486 | 0 | 217 | (total)

@shushanhfshushanhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@jakobbotsch@jkotas
Could you please review this PR? thanks

@jakobbotsch

Copy link
Copy Markdown
Member

/ba-g Build analysis stuck

@jakobbotsch
jakobbotsch merged commit a6d3a3e into dotnet:mainMar 11, 2026
134 of 136 checks passed
@LuckyXu-HF
LuckyXu-HF deleted the main-LA64-async branch March 11, 2026 09:50
CopilotAI pushed a commit that referenced this pull request Mar 13, 2026
* Contributes to #124935
* Fix up hijacking on loongarch64 (preserve async continuation
register).
* Revert #121672 relate change of
LA64 as `FEATURE_REMAP_FUNCTION` is not enabled on LA64.
* Another part Place async resumption info in read-write section for
LA64 is in #124213
jakobbotsch pushed a commit that referenced this pull request Mar 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Mar 23, 2026
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Apr 11, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-loongarch64area-VM-coreclrcommunity-contributionIndicates that the PR has been added by a community memberruntime-async

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@LuckyXu-HF@jakobbotsch@shushanhf@am11@jkotas