Hi all,

This single commit patch is intended to add initial support for RV64E and
LP64E ABI.

Following the discussion at:
<https://github.com/riscv-non-isa/riscv-c-api-doc/pull/52>,
"__riscv_64e" preprocessor macro will be a part of the RISC-V C API
Specification, I will submit this patch as non-RFC.  As invoke.texi states
that RVE ABIs are subject to change so I consider that the fact that the
RVE ABIs are not ratified will not block merging the changes.

Previous RFC PATCH:
<https://gcc.gnu.org/pipermail/gcc-patches/2023-October/633846.html>


Thanks,
Tsukasa




Tsukasa OI (1):
  RISC-V: Initial RV64E and LP64E support

 gcc/common/config/riscv/riscv-common.cc   |  8 +--
 gcc/config.gcc                            | 10 ++--
 gcc/config/riscv/arch-canonicalize        |  2 +-
 gcc/config/riscv/riscv-c.cc               |  3 +-
 gcc/config/riscv/riscv-d.cc               |  1 +
 gcc/config/riscv/riscv-opts.h             |  1 +
 gcc/config/riscv/riscv.cc                 | 19 ++++---
 gcc/config/riscv/riscv.h                  | 17 ++++--
 gcc/config/riscv/riscv.opt                |  3 ++
 gcc/doc/invoke.texi                       |  7 +--
 gcc/testsuite/gcc.target/riscv/predef-1.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-2.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-3.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-4.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-5.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-6.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-7.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-8.c |  3 ++
 gcc/testsuite/gcc.target/riscv/predef-9.c | 66 +++++++++++++++++++++++
 19 files changed, 137 insertions(+), 24 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/riscv/predef-9.c


base-commit: e377a340b34de1b06f2825691e45a33affcb4c2d
-- 
2.42.0

Reply via email to