[RISCV] Fold (srl (and X, 0xffff), C)->(srli (slli X, (XLen-16), (XLen-16) + C) even with Zbb/Zbp.
We can use zext.h with Zbb, but srli/slli may offer more opportunities for compression.
Loading
Please sign in to comment
We can use zext.h with Zbb, but srli/slli may offer more opportunities for compression.