diff options
author | Edwin Lu <ewlu@rivosinc.com> | 2024-02-07 16:30:28 -0800 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2024-06-11 10:05:16 -0700 |
commit | af139b3fc19fbdd7caa649bcb2cb75cc5a254143 (patch) | |
tree | 7ddf9ca03b1cec9091fd092f9e45c3055ca576c5 /libcpp/init.cc | |
parent | 05b95238be648c9cf8af2516930af6a7b637a2b8 (diff) | |
download | gcc-af139b3fc19fbdd7caa649bcb2cb75cc5a254143.zip gcc-af139b3fc19fbdd7caa649bcb2cb75cc5a254143.tar.gz gcc-af139b3fc19fbdd7caa649bcb2cb75cc5a254143.tar.bz2 |
RISC-V: Add basic Zaamo and Zalrsc support
There is a proposal to split the A extension into two parts: Zaamo and Zalrsc.
This patch adds basic support by making the A extension imply Zaamo and
Zalrsc.
Proposal: https://github.com/riscv/riscv-zaamo-zalrsc/tags
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc: Add Zaamo and Zalrsc.
* config/riscv/arch-canonicalize: Make A imply Zaamo and Zalrsc.
* config/riscv/riscv.opt: Add Zaamo and Zalrsc
* config/riscv/sync.md: Convert TARGET_ATOMIC to TARGET_ZAAMO and
TARGET_ZALRSC.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/attribute-15.c: Adjust expected arch string.
* gcc.target/riscv/attribute-16.c: Ditto.
* gcc.target/riscv/attribute-17.c: Ditto.
* gcc.target/riscv/attribute-18.c: Ditto.
* gcc.target/riscv/pr110696.c: Ditto.
* gcc.target/riscv/rvv/base/pr114352-1.c: Ditto.
* gcc.target/riscv/rvv/base/pr114352-3.c: Ditto.
Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
Co-authored-by: Patrick O'Neill <patrick@rivosinc.com>
Diffstat (limited to 'libcpp/init.cc')
0 files changed, 0 insertions, 0 deletions