[PATCH 0/1] Add LoongArch64 support for D frontend

2023-09-23 Thread liushuyu
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/REA

[PATCH 1/1] gcc/d: add LoongArch64 support for D frontend

2023-09-23 Thread liushuyu
gcc/ChangeLog: * config.gcc: add loongarch-d.o to d_target_objs for LoongArch architecture. gcc/config/ChangeLog: * loongarch/loongarch-d.cc (loongarch_d_target_versions): add interface function to define builtin D versions for LoongArch architecture.

[PATCH 0/1] Add LoongArch64 support for D frontend

2023-09-23 Thread liushuyu
From: 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-D

[PATCH 1/1] gcc/d: add LoongArch64 support for D frontend

2023-09-23 Thread liushuyu
gcc/ChangeLog: * config.gcc: add loongarch-d.o to d_target_objs for LoongArch architecture. gcc/config/ChangeLog: * loongarch/loongarch-d.cc (loongarch_d_target_versions): add interface function to define builtin D versions for LoongArch architecture.

Re: [PATCH v2 0/1] Add LoongArch64 support for D frontend

2023-09-25 Thread liushuyu
Hi Yujie, Sorry, I did not know Loongson Technologies is also working on this. However, you can jump onto that GitHub pull request to review my changes so that they align with your implementation and nobody's effort would go to waste. Thanks, Zixing On 2023/9/25 04:04, Yang Yujie wrote: H

[PATCH 0/1] gdc: define ELFv1, ELFv2 and D_PPCUseIEEE128 versions for powerpc

2025-02-05 Thread liushuyu
From: Zixing Liu This set of patches will add proper IEEE 128 quad precision marking to GDC compiler, so that it works with the new changes in D standard library where POWER system can use any math functions inside the standard library that requires the "real" type. The patch also adds the ELFv1

Re: [PATCH 0/1] gdc: define ELFv1, ELFv2 and D_PPCUseIEEE128 versions for powerpc

2025-02-12 Thread liushuyu
Hi, Excerpts from liushuyu's message of Februar 6, 2025 2:02 am: From: Zixing Liu This set of patches will add proper IEEE 128 quad precision marking to GDC compiler, so that it works with the new changes in D standard library where POWER system can use any math functions inside the standard

[PATCH v2 1/1] gdc: define ELFv1 and ELFv2 versions for powerpc

2025-02-13 Thread liushuyu
From: Zixing Liu gcc/ChangeLog: * config/rs6000/rs6000-d.cc: define ELFv1 and ELFv2 version identifiers according to the target options. gcc/testsuite/ChangeLog: * gdc.dg/ppcabi.d: Add a test to test for code generation correctness when using IEEE 128 and new

[PATCH v2 0/1] gdc: define ELFv1 and ELFv2 versions for powerpc

2025-02-13 Thread liushuyu
From: Zixing Liu This patch was formerly known as "gdc: define ELFv1, ELFv2 and D_PPCUseIEEE128 versions for powerpc", due to new developments in https://github.com/dlang/dmd/pull/20826, compiler is now not required to mark D_PPCUseIEEE128 version identifier. Instead, correctly setting real.mant_