]> git.ipfire.org Git - thirdparty/gcc.git/commit
riscv: bitmanip: add orc.b as an unspec
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>
Thu, 27 May 2021 15:20:05 +0000 (17:20 +0200)
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>
Mon, 14 Nov 2022 19:03:47 +0000 (20:03 +0100)
commiteab3d2d17dd8fedc856cf175a3f2174770ecb64d
tree8ef9edd57f27faa67aad3d70eb5a56559c0fad25
parent1d99e09106ad08a1e060a8d3343c123c3c115bcc
riscv: bitmanip: add orc.b as an unspec

As a basis for optimized string functions (e.g., the by-pieces
implementations), we need orc.b available.  This adds orc.b as an
unspec, so we can expand to it.

gcc/ChangeLog:

* config/riscv/bitmanip.md (orcb<mode>2): Add orc.b as an
  unspec.
* config/riscv/riscv.md: Add UNSPEC_ORC_B.

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
gcc/config/riscv/bitmanip.md
gcc/config/riscv/riscv.md