diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2022-12-05 13:02:24 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2023-03-15 09:56:45 +0100 |
commit | d328d3a6f8756ed61b3cdf3675b24051f7d3b2ef (patch) | |
tree | d5eb64d284dd836617d70165d2d5420006123b8d /gcc/fortran | |
parent | b77c32273b432db3f04175b95143b3ed5214f6f3 (diff) | |
download | gcc-d328d3a6f8756ed61b3cdf3675b24051f7d3b2ef.zip gcc-d328d3a6f8756ed61b3cdf3675b24051f7d3b2ef.tar.gz gcc-d328d3a6f8756ed61b3cdf3675b24051f7d3b2ef.tar.bz2 |
riscv: thead: Add support for the XTheadBs ISA extension
This patch adds support for the XTheadBs ISA extension.
The new INSN pattern is defined in a new file to separate
this vendor extension from the standard extensions.
The cost model adjustment reuses the xbs:bext cost.
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_rtx_costs): Add xthead:tst cost.
* config/riscv/thead.md (*th_tst<mode>3): New INSN.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/xtheadbs-tst.c: New test.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions