public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] LoongArch D support
@ 2023-12-01  7:46 Yang Yujie
  2023-12-01  7:46 ` [PATCH v2 1/3] LoongArch: Adjust D version strings Yang Yujie
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yang Yujie @ 2023-12-01  7:46 UTC (permalink / raw)
  To: gcc-patches; +Cc: ibuclaw, chenglulu, xuchenghua, Yang Yujie

This patchset is based on Zixing Liu's initial support patch:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631260.html

Update v1 -> v2:
Rebased onto the dmd/druntime upstream state.

Regtested on loongarch64-linux-gnu with the following result:

                === libphobos Summary ===

FAIL: libphobos.config/test22523.d -- --DRT-testmode=run-main execution test
FAIL: libphobos.gc/precisegc.d execution test
FAIL: libphobos.phobos/std/datetime/systime.d (test for excess errors)
UNRESOLVED: libphobos.phobos/std/datetime/systime.d compilation failed to produce executable
UNSUPPORTED: libphobos.phobos/std/net/curl.d: skipped test
UNSUPPORTED: libphobos.phobos_shared/std/net/curl.d: skipped test
FAIL: libphobos.shared/loadDR.c -ldl -pthread -g execution test (out-of-tree testing)

# of expected passes            1024
# of unexpected failures        4
# of unresolved testcases       1
# of unsupported tests          2

                === gdc Summary ===

FAIL: gdc.test/runnable/testaa.d   execution test
FAIL: gdc.test/runnable/testaa.d -fPIC   execution test

# of expected passes            10353
# of unexpected failures        2
# of unsupported tests          631


Yang Yujie (3):
  LoongArch: Adjust D version strings.
  libphobos: Update build scripts for LoongArch64.
  libphobos: LoongArch hardware support.

 gcc/config/loongarch/loongarch-d.cc           |  27 ++--
 gcc/d/dmd/cond.d                              |   6 +-
 gcc/d/implement-d.texi                        |   6 +
 libphobos/configure                           |  21 ++-
 libphobos/libdruntime/Makefile.am             |   3 +
 libphobos/libdruntime/Makefile.in             |  98 ++++++++-----
 .../config/loongarch/switchcontext.S          | 133 ++++++++++++++++++
 libphobos/m4/druntime/cpu.m4                  |   5 +
 libphobos/src/std/math/hardware.d             |  53 +++++++
 9 files changed, 296 insertions(+), 56 deletions(-)
 create mode 100644 libphobos/libdruntime/config/loongarch/switchcontext.S

-- 
2.20.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-12-07 12:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-01  7:46 [PATCH v2 0/3] LoongArch D support Yang Yujie
2023-12-01  7:46 ` [PATCH v2 1/3] LoongArch: Adjust D version strings Yang Yujie
2023-12-01  7:46 ` [PATCH v2 2/3] libphobos: Update build scripts for LoongArch64 Yang Yujie
2023-12-01  7:46 ` [PATCH v2 3/3] libphobos: LoongArch hardware support Yang Yujie
2023-12-01  8:39   ` Xi Ruoyao
2023-12-01  8:48     ` Yang Yujie
2023-12-07 10:41   ` Iain Buclaw
2023-12-07 12:35     ` Xi Ruoyao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).