Skip to content

Add LoongArch NCG support to master

Ticat Fp requested to merge loong64-ncg-master into master

Added NCG support to LoongArch64 to reduce compilation time having to wait.

Hardware: Loongson-3C5000 Software: gcc-14.2.0-12, binutils-2.43.50.20241230

Test results:

Unexpected results from:
TEST="CallerCc1 CallerCc2 CallerCc3 T11489 T7275 callstack001 callstack002 scc001 toplevel_scc_1"

SUMMARY for test run started at Fri Jan 10 08:16:09 2025
0:58:58.280856 spent to go through
   10418 total tests, which gave rise to
   50730 test cases, of which
   40282 were skipped
       8 had missing libraries

   10273 expected passes
     125 expected failures

       0 caused framework failures
       0 caused framework warnings
       0 unexpected passes
      16 unexpected failures
       0 unexpected stat failures
      34 fragile tests

Unexpected failures:
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/caller-cc/CallerCc1.run  CallerCc1 [bad profile] (prof)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/caller-cc/CallerCc1.run  CallerCc1 [bad profile] (profasm)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/caller-cc/CallerCc2.run  CallerCc2 [bad profile] (prof)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/caller-cc/CallerCc2.run  CallerCc2 [bad profile] (profasm)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/caller-cc/CallerCc3.run  CallerCc3 [bad profile] (prof)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/caller-cc/CallerCc3.run  CallerCc3 [bad profile] (profasm)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/callstack001.run         callstack001 [bad stdout] (prof)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/callstack001.run         callstack001 [bad stdout] (profdyn)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/callstack002.run         callstack002 [bad stderr] (prof)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/callstack002.run         callstack002 [bad stderr] (profdyn)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/scc001.run               scc001 [bad profile] (prof)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/scc001.run               scc001 [bad profile] (profdyn)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/T11489.run               T11489 [bad stderr] (normal)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/T7275.run                T7275 [bad stdout] (prof)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/T7275.run                T7275 [bad stdout] (profdyn)
   /tmp/ghctest-jcgi9ch3/test   spaces/testsuite/tests/profiling/should_run/toplevel_scc_1.run       toplevel_scc_1 [bad profile] (prof_no_auto)

These are 16 failed test items that I don't think have anything to do with the NCG code. It should be the test cases themselves that need to be updated or tweaked. Details can be found in(https://gitlab.haskell.org/fp/ghc/-/wikis/log/testsuite_summary-loong64)

Also, I found these errors when testing on amd64 platform. See amd64's log(https://gitlab.haskell.org/fp/ghc/-/wikis/log/testsuite_summary-amd64)

Edited by Ticat Fp

Merge request reports

Loading