]> gcc.gnu.org Git - gcc.git/commit
riscv: bitmanip: Remove duplicate zero_extendhi<GPR:mode>2 pattern
authorChristoph Müllner <christoph.muellner@vrull.eu>
Fri, 8 Sep 2023 06:19:32 +0000 (08:19 +0200)
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>
Fri, 8 Sep 2023 09:27:57 +0000 (11:27 +0200)
commit0c37fef39fa0a8f77ea4fc67d1bbf5067d4bddb9
tree85f71016f05884381ba252049f68645e8ad7e648
parent5ead44d0d02913757f44aaf7570c74458f6e2074
riscv: bitmanip: Remove duplicate zero_extendhi<GPR:mode>2 pattern

We currently have two identical zero_extendhi<GPR:mode>2 patterns:
* '*zero_extendhi<GPR:mode>2_zbb'
* '*zero_extendhi<GPR:mode>2_bitmanip'

This patch removes the *_zbb pattern and ensures that all sign- and
zero-extensions use the postfix '_bitmanip'.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/ChangeLog:

* config/riscv/bitmanip.md (*extend<SHORT:mode><SUPERQI:mode>2_zbb):
Rename postfix to _bitmanip.
(*extend<SHORT:mode><SUPERQI:mode>2_bitmanip): Renamed pattern.
(*zero_extendhi<GPR:mode>2_zbb): Remove duplicated pattern.
gcc/config/riscv/bitmanip.md
This page took 0.053226 seconds and 5 git commands to generate.