From: Xi Ruoyao <xry111@xry111.site>
To: gcc-patches@gcc.gnu.org
Cc: chenglulu <chenglulu@loongson.cn>,
i@xen0n.name, xuchenghua@loongson.cn,
Xi Ruoyao <xry111@xry111.site>
Subject: [PATCH v2 0/6] Add LoongArch v1.1 div32 and ld-seq-sa support
Date: Sat, 18 Nov 2023 04:43:17 +0800 [thread overview]
Message-ID: <20231117204323.453536-1-xry111@xry111.site> (raw)
Superseds
https://gcc.gnu.org/pipermail/gcc-patches/2023-November/636795.html.
Requires
https://gcc.gnu.org/pipermail/gcc-patches/2023-November/636946.html.
Changes:
- Rebase on top of "Add LoongarchV1.1 instructions support".
- Not to translate loongarch-def.c C++. Use int64_t instead of
HOST_WIDE_INT in loongarch-def.h.
- In genopts, also generates cpucfg_useful_idx[] and N_CPUCFG_WORDS.
Use decimals instead of hexidecimals for CPUCFG word index to make awk
happy to perform numerical comparision.
- Dump arch and feature info as comments in generated assembly if
-fverbose-asm. It's helpful for testing and debugging.
Xi Ruoyao (6):
LoongArch: Fix internal error running "gcc -march=native" on LA664
LoongArch: genopts: Add infrastructure to generate code for new
features in ISA evolution
LoongArch: Add evolution features of base ISA revisions
LoongArch: Take the advantage of -mdiv32 if it's enabled
LoongArch: Don't emit dbar 0x700 if -mld-seq-sa
LoongArch: Add fine-grained control for LAM_BH and LAMCAS
gcc/config/loongarch/genopts/genstr.sh | 92 ++++++++++++++-
gcc/config/loongarch/genopts/isa-evolution.in | 4 +
.../loongarch/genopts/loongarch-strings | 1 +
gcc/config/loongarch/genopts/loongarch.opt.in | 10 ++
gcc/config/loongarch/loongarch-cpu.cc | 105 +++++++++++-------
gcc/config/loongarch/loongarch-cpucfg-map.h | 50 +++++++++
gcc/config/loongarch/loongarch-def.c | 1 +
gcc/config/loongarch/loongarch-def.h | 12 ++
gcc/config/loongarch/loongarch-opts.cc | 3 +
gcc/config/loongarch/loongarch-str.h | 10 +-
gcc/config/loongarch/loongarch.cc | 35 +++++-
gcc/config/loongarch/loongarch.md | 31 +++++-
gcc/config/loongarch/loongarch.opt | 31 +++++-
gcc/config/loongarch/sync.md | 25 +++--
gcc/config/loongarch/t-loongarch | 21 +++-
.../gcc.target/loongarch/div-div32.c | 31 ++++++
.../gcc.target/loongarch/div-no-div32.c | 11 ++
17 files changed, 403 insertions(+), 70 deletions(-)
create mode 100644 gcc/config/loongarch/genopts/isa-evolution.in
create mode 100644 gcc/config/loongarch/loongarch-cpucfg-map.h
create mode 100644 gcc/testsuite/gcc.target/loongarch/div-div32.c
create mode 100644 gcc/testsuite/gcc.target/loongarch/div-no-div32.c
--
2.42.1
next reply other threads:[~2023-11-17 20:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-17 20:43 Xi Ruoyao [this message]
2023-11-17 20:43 ` [PATCH v2 1/6] LoongArch: Fix internal error running "gcc -march=native" on LA664 Xi Ruoyao
2023-11-17 20:43 ` [PATCH v2 2/6] LoongArch: genopts: Add infrastructure to generate code for new features in ISA evolution Xi Ruoyao
2023-11-20 23:15 ` Joseph Myers
2023-11-21 0:00 ` Xi Ruoyao
2023-11-21 3:09 ` Pushed: LoongArch: Fix libgcc build failure when libc is not available (was Re: genopts: Add infrastructure to generate code for new features in ISA evolution) Xi Ruoyao
2023-11-21 14:16 ` Jeff Law
2023-11-17 20:43 ` [PATCH v2 3/6] LoongArch: Add evolution features of base ISA revisions Xi Ruoyao
2023-11-17 20:43 ` [PATCH v2 4/6] LoongArch: Take the advantage of -mdiv32 if it's enabled Xi Ruoyao
2023-11-17 20:43 ` [PATCH v2 5/6] LoongArch: Don't emit dbar 0x700 if -mld-seq-sa Xi Ruoyao
2023-11-17 20:43 ` [PATCH v2 6/6] LoongArch: Add fine-grained control for LAM_BH and LAMCAS Xi Ruoyao
2023-11-18 8:13 ` [PATCH v2 0/6] Add LoongArch v1.1 div32 and ld-seq-sa support chenglulu
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=20231117204323.453536-1-xry111@xry111.site \
--to=xry111@xry111.site \
--cc=chenglulu@loongson.cn \
--cc=gcc-patches@gcc.gnu.org \
--cc=i@xen0n.name \
--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).