]> gcc.gnu.org Git - gcc.git/commit
[RISCV] Fix PR 106632 and PR 106588 a few constraints in bitmanip.md
authorAndrew Pinski <apinski@marvell.com>
Mon, 15 Aug 2022 22:58:09 +0000 (22:58 +0000)
committerAndrew Pinski <apinski@marvell.com>
Wed, 24 Aug 2022 19:15:33 +0000 (12:15 -0700)
commitdf5204ddd4b8e3a2d02bb3ad5bcdb9d636b02537
tree0ee61038582ad9f95ca46373bee7889fcba96bf5
parent2a5549f1cc8a6ac58a7b19613e788ec5c41ac89c
[RISCV] Fix PR 106632 and PR 106588 a few constraints in bitmanip.md

The constraints should be n instead of i. Also there
needs to a check for out of bounds zero_extract for
*bexti.

gcc/ChangeLog:

PR target/106632
PR target/106588
* config/riscv/bitmanip.md (*shNadduw): Use n constraint
instead of i.
(*slliuw): Likewise.
(*bexti): Likewise. Also add a check for operands[2] to be less
than the mode bitsize.
gcc/config/riscv/bitmanip.md
This page took 0.062141 seconds and 6 git commands to generate.