]> git.ipfire.org Git - thirdparty/gcc.git/commit
riscv: thead: Add support for the XTheadBa ISA extension
authorChristoph Müllner <christoph.muellner@vrull.eu>
Mon, 5 Dec 2022 11:55:16 +0000 (12:55 +0100)
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>
Wed, 15 Mar 2023 08:56:38 +0000 (09:56 +0100)
commitb77c32273b432db3f04175b95143b3ed5214f6f3
tree313aa7ee2d24523316b5011f1f331e9e1eda14d7
parentc36fb3ca9eef56bc2f597e0fee577aca96ec3754
riscv: thead: Add support for the XTheadBa ISA extension

This patch adds support for the XTheadBa ISA extension.
The new INSN pattern is defined in a new file to separate
this vendor extension from the standard extensions.

gcc/ChangeLog:

* config/riscv/riscv.md: Include thead.md
* config/riscv/thead.md: New file.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/xtheadba-addsl.c: New test.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/config/riscv/riscv.md
gcc/config/riscv/thead.md [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/xtheadba-addsl.c [new file with mode: 0644]