[v1,0/2] Delete ISA_BASE_LA64V110 related definitions.

Message ID 20231202081441.4799-1-chenglulu@loongson.cn
Headers
Series Delete ISA_BASE_LA64V110 related definitions. |

Message

chenglulu Dec. 2, 2023, 8:14 a.m. UTC
  1. Rebase Xi Ruoyao's patch to the latest commit.
https://gcc.gnu.org/pipermail/gcc-patches/2023-November/636798.html

2. Described in LoongArch Reference Manual v1.1:
The new functional subsets in each new version have independent identification
bits in the return value of the CPUCFG instruction. It is recommended that the
software determines the running process based on this information rather than
the version number of the Loongson architecture.

So delete the ISA_BASE_LA64V110 related definitions here.

Lulu Cheng (1):
  LoongArch: Remove the definition of ISA_BASE_LA64V110 from the code.

Xi Ruoyao (1):
  LoongArch: Switch loongarch-def from C to C++ to make it possible.

 .../loongarch/genopts/loongarch-strings       |   1 -
 gcc/config/loongarch/genopts/loongarch.opt.in |   3 -
 gcc/config/loongarch/loongarch-cpu.cc         |  23 +-
 gcc/config/loongarch/loongarch-def-array.h    |  40 +++
 gcc/config/loongarch/loongarch-def.c          | 227 ------------------
 gcc/config/loongarch/loongarch-def.cc         | 193 +++++++++++++++
 gcc/config/loongarch/loongarch-def.h          |  63 ++---
 gcc/config/loongarch/loongarch-opts.cc        |  10 +-
 gcc/config/loongarch/loongarch-opts.h         |   7 +-
 gcc/config/loongarch/loongarch-str.h          |   1 -
 gcc/config/loongarch/loongarch-tune.h         | 123 +++++++++-
 gcc/config/loongarch/loongarch.opt            |   3 -
 gcc/config/loongarch/t-loongarch              |   4 +-
 13 files changed, 404 insertions(+), 294 deletions(-)
 create mode 100644 gcc/config/loongarch/loongarch-def-array.h
 delete mode 100644 gcc/config/loongarch/loongarch-def.c
 create mode 100644 gcc/config/loongarch/loongarch-def.cc