]> git.ipfire.org Git - thirdparty/gcc.git/commit
pru: Fix register class checks in predicates
authorDimitar Dimitrov <dimitar@dinux.eu>
Thu, 9 May 2024 19:19:24 +0000 (22:19 +0300)
committerDimitar Dimitrov <dimitar@dinux.eu>
Fri, 10 May 2024 18:41:57 +0000 (21:41 +0300)
commitd4d30461c02b50c07f92c8cccb87da528a806d3e
tree2b3d8b1053c4641807d81a04f2915d3ee789f284
parent9585317f0715699197b1313bbf939c6ea3c1ace6
pru: Fix register class checks in predicates

The register class checks in the multiply-source predicates was
incorrectly using the register number instead of the register
class for comparison.

gcc/ChangeLog:

* config/pru/predicates.md (pru_mulsrc0_operand): Use register
class instead of register number for the check.
(pru_mulsrc1_operand): Ditto.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
gcc/config/pru/predicates.md