diff options
author | Jun Sha (Joshua) <cooper.joshua@linux.alibaba.com> | 2024-01-12 11:20:29 +0800 |
---|---|---|
committer | Christoph Müllner <christoph.muellner@vrull.eu> | 2024-01-18 15:32:49 +0100 |
commit | d05b5265110709996fa19af1267c6669b7992879 (patch) | |
tree | e0a6ccaed1e0bf44071359cdd6ec945802c963ca /gcc/expr.cc | |
parent | 60f58d0630805e8dce79f5489658fd83e42fa8f1 (diff) | |
download | gcc-d05b5265110709996fa19af1267c6669b7992879.zip gcc-d05b5265110709996fa19af1267c6669b7992879.tar.gz gcc-d05b5265110709996fa19af1267c6669b7992879.tar.bz2 |
RISC-V: Introduce XTheadVector as a subset of V1.0.0
This patch is to introduce basic XTheadVector support
(march string parsing and a test for __riscv_xtheadvector)
according to https://github.com/T-head-Semi/thead-extension-spec/
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc
(riscv_subset_list::parse): Add new vendor extension.
* config/riscv/riscv-c.cc (riscv_cpu_cpp_builtins):
Add test marco.
* config/riscv/riscv.opt: Add new mask.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/predef-__riscv_th_v_intrinsic.c: New test.
* gcc.target/riscv/rvv/xtheadvector.c: New test.
Co-authored-by: Jin Ma <jinma@linux.alibaba.com>
Co-authored-by: Xianmiao Qu <cooper.qu@linux.alibaba.com>
Co-authored-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions