[0/3] LoongArch GDC support.

Message ID 20231117100007.2566030-1-yangyujie@loongson.cn
Headers
Series LoongArch GDC support. |

Message

Yang Yujie Nov. 17, 2023, 10 a.m. UTC
  This patchset is based on Zixing Liu's initial support patch:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631260.html

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

 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/libdruntime/core/stdc/fenv.d        |   8 +-
 libphobos/libdruntime/core/stdc/stdarg.d      |   6 +
 libphobos/libdruntime/core/sys/elf/package.d  |   2 +
 .../libdruntime/core/sys/linux/sys/auxv.d     |  17 +++
 .../libdruntime/core/sys/linux/sys/mman.d     |   1 +
 libphobos/libdruntime/core/thread/fiber.d     |  55 +++++---
 libphobos/libdruntime/core/vararg.d           |   7 +
 libphobos/m4/druntime/cpu.m4                  |   5 +
 libphobos/src/std/math/hardware.d             |  77 ++++++++++
 16 files changed, 389 insertions(+), 83 deletions(-)
 create mode 100644 libphobos/libdruntime/config/loongarch/switchcontext.S