On 6/3/24 3:53 PM, Patrick O'Neill wrote:
The A extension has been split into two parts: Zaamo and Zalrsc.
This patch adds basic support by making the A extension imply Zaamo and
Zalrsc.

Zaamo/Zalrsc spec: https://github.com/riscv/riscv-zaamo-zalrsc/tags
Ratification: https://jira.riscv.org/browse/RVS-1995

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.
OK
jeff

Reply via email to