public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Add LoongArch64 support for D frontend
@ 2023-09-24 21:40 Zixing Liu
  2023-09-24 21:40 ` [PATCH v2 1/1] gcc/d: add " Zixing Liu
  2023-09-25 10:04 ` [PATCH v2 0/1] Add " Yang Yujie
  0 siblings, 2 replies; 4+ messages in thread
From: Zixing Liu @ 2023-09-24 21:40 UTC (permalink / raw)
  To: gcc-patches; +Cc: Iain Buclaw, Zixing Liu

This patch adds the LoongArch64 support for GCC D frontend.

The runtime support is submitted as a separate patch here:
https://github.com/dlang/dmd/pull/15628.

You can find more information about the LoongArch architecture on this
website:
https://loongson.github.io/LoongArch-Documentation/README-EN.html.

------

Changes since the last revision of the patch:

* Corrected copyright years in loongarch-d.cc and loongarch-d.h.
* Removed changes to the tests, the changes have been rolled into the DMD
  changes in:
  https://github.com/dlang/dmd/pull/15628/commits/eb84b8a2bc86aa751ad6f472422e8abad63ff500
  .
* Removed D_LP32 and D_LP64 bits. Since LoongArch ABIs are somewhat
  complicated, we may introduce the ABI information in the form of target
  traits in the future.

Zixing Liu (1):

 gcc/config.gcc                             |  1 +
 gcc/config/loongarch/loongarch-d.cc        | 77 ++++++++++++++++++++++
 gcc/config/loongarch/loongarch-d.h         | 26 ++++++++
 gcc/config/loongarch/t-loongarch           |  4 ++
 libphobos/configure.tgt                    |  3 +
 libphobos/libdruntime/gcc/sections/elf.d   |  2 +
 libphobos/libdruntime/gcc/unwind/generic.d |  1 +
 7 files changed, 114 insertions(+)
 create mode 100644 gcc/config/loongarch/loongarch-d.cc
 create mode 100644 gcc/config/loongarch/loongarch-d.h

-- 
2.42.0


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

end of thread, other threads:[~2023-09-25 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-24 21:40 [PATCH v2 0/1] Add LoongArch64 support for D frontend Zixing Liu
2023-09-24 21:40 ` [PATCH v2 1/1] gcc/d: add " Zixing Liu
2023-09-25 10:04 ` [PATCH v2 0/1] Add " Yang Yujie
2023-09-25 15:12   ` liushuyu

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).