public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Adjust option handling code
@ 2024-01-08  1:14 Yang Yujie
  2024-01-08  1:14 ` [PATCH v2 1/4] LoongArch: Handle ISA evolution switches along with other options Yang Yujie
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yang Yujie @ 2024-01-08  1:14 UTC (permalink / raw)
  To: gcc-patches; +Cc: xry111, chenglulu, xuchenghua, Yang Yujie

This patchset performs some code cleanup, and is bootstrapped and regtested
on loongarch64-linux-gnu.

Changes from v1 -> v2:
* Replaced all TARGET_<evolution> macros from .opt.
* Fixed definition of ISA_HAS_LAMCAS.

Yang Yujie (4):
  LoongArch: Handle ISA evolution switches along with other options
  LoongArch: Rename ISA_BASE_LA64V100 to ISA_BASE_LA64
  LoongArch: Use enums for constants
  LoongArch: Simplify -mexplicit-reloc definitions

 gcc/config/loongarch/genopts/genstr.sh        |   2 +-
 .../loongarch/genopts/loongarch-strings       |   8 +-
 gcc/config/loongarch/genopts/loongarch.opt.in |  16 +--
 gcc/config/loongarch/lasx.md                  |   4 +-
 gcc/config/loongarch/loongarch-builtins.cc    |   6 +-
 gcc/config/loongarch/loongarch-c.cc           |   2 +-
 gcc/config/loongarch/loongarch-cpu.cc         |   2 +-
 gcc/config/loongarch/loongarch-def.cc         |  14 +-
 gcc/config/loongarch/loongarch-def.h          | 120 +++++++++++-------
 gcc/config/loongarch/loongarch-driver.cc      |   5 +-
 gcc/config/loongarch/loongarch-opts.cc        |  27 +++-
 gcc/config/loongarch/loongarch-opts.h         |  26 +++-
 gcc/config/loongarch/loongarch-str.h          |   7 +-
 gcc/config/loongarch/loongarch.cc             |  36 ++----
 gcc/config/loongarch/loongarch.md             |  12 +-
 gcc/config/loongarch/loongarch.opt            |  20 +--
 gcc/config/loongarch/lsx.md                   |   4 +-
 gcc/config/loongarch/sync.md                  |  22 ++--
 18 files changed, 180 insertions(+), 153 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-01-10  3:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-08  1:14 [PATCH v2 0/4] Adjust option handling code Yang Yujie
2024-01-08  1:14 ` [PATCH v2 1/4] LoongArch: Handle ISA evolution switches along with other options Yang Yujie
2024-01-08  1:14 ` [PATCH v2 2/4] LoongArch: Rename ISA_BASE_LA64V100 to ISA_BASE_LA64 Yang Yujie
2024-01-08  1:14 ` [PATCH v2 3/4] LoongArch: Use enums for constants Yang Yujie
2024-01-08  1:14 ` [PATCH v2 4/4] LoongArch: Simplify -mexplicit-reloc definitions Yang Yujie
2024-01-10  3:57 ` Re:[pushed] [PATCH v2 0/4] Adjust option handling code chenglulu

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