Re: [PATCH] aarch64: Use bitreverse rtl code instead of unspec [PR115176]

2024-06-12 Thread Richard Sandiford
Andrew Pinski writes: > Bitreverse rtl code was added with r14-1586-g6160572f8d243c. So let's > use it instead of an unspec. This is just a small cleanup but it does > have one small fix with respect to rtx costs which didn't handle vector modes > correctly for the UNSPEC and now it does. > This i

[PATCH] aarch64: Use bitreverse rtl code instead of unspec [PR115176]

2024-06-11 Thread Andrew Pinski
Bitreverse rtl code was added with r14-1586-g6160572f8d243c. So let's use it instead of an unspec. This is just a small cleanup but it does have one small fix with respect to rtx costs which didn't handle vector modes correctly for the UNSPEC and now it does. This is part of the first step in addin