CRIS: Replace unspec CRIS_UNSPEC_SWAP_BITS with rtx bitreverse
commit48c85cb5334df621a05b322661089dd08be27094
authorHans-Peter Nilsson <hp@axis.com>
Sun, 2 Jul 2023 00:59:32 +0000 (2 02:59 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Tue, 4 Jul 2023 01:05:21 +0000 (4 03:05 +0200)
tree5bc49e3ebab831d232bee54b7dc5b07cc419739f
parent2db33665399b8b9aa3b8d92a1c9622a9f1c87035
CRIS: Replace unspec CRIS_UNSPEC_SWAP_BITS with rtx bitreverse

This is just expected to be a change in representation.
No code is expected to change; no new tests are added.

* config/cris/cris.md (CRIS_UNSPEC_SWAP_BITS): Remove.
("cris_swap_bits", "ctzsi2"): Use bitreverse instead.
gcc/config/cris/cris.md