From: Yang Yujie <yangyujie@loongson.cn>
To: gcc-patches@gcc.gnu.org
Cc: ibuclaw@gdcproject.org, chenglulu@loongson.cn,
xuchenghua@loongson.cn, Yang Yujie <yangyujie@loongson.cn>
Subject: [PATCH v3 0/3] LoongArch D support
Date: Fri, 1 Dec 2023 18:08:24 +0800 [thread overview]
Message-ID: <20231201100827.227376-1-yangyujie@loongson.cn> (raw)
This patchset is based on Zixing Liu's initial support patch:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631260.html
Update v1 -> v3:
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.
libruntime: Add fiber context switch code for LoongArch.
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 +
8 files changed, 243 insertions(+), 56 deletions(-)
create mode 100644 libphobos/libdruntime/config/loongarch/switchcontext.S
--
2.43.0
next reply other threads:[~2023-12-01 10:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 10:08 Yang Yujie [this message]
2023-12-01 10:08 ` [PATCH v3 1/3] LoongArch: Adjust D version strings Yang Yujie
2023-12-07 10:30 ` Iain Buclaw
2023-12-08 1:50 ` Yang Yujie
2023-12-01 10:08 ` [PATCH v3 2/3] libphobos: Update build scripts for LoongArch64 Yang Yujie
2023-12-07 10:34 ` Iain Buclaw
2023-12-08 1:53 ` Yang Yujie
2023-12-01 10:08 ` [PATCH v3 3/3] libruntime: Add fiber context switch code for LoongArch Yang Yujie
2023-12-07 10:36 ` Iain Buclaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231201100827.227376-1-yangyujie@loongson.cn \
--to=yangyujie@loongson.cn \
--cc=chenglulu@loongson.cn \
--cc=gcc-patches@gcc.gnu.org \
--cc=ibuclaw@gdcproject.org \
--cc=xuchenghua@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).