On Thu, May 26, 2016 at 10:53:07AM +0100, Kyrill Tkachov wrote: > Hi all, > > In a similar rationale to patch 1/3 this patch changes the AArch64 backend to > keep the CTZ expression as a single RTX until after reload when it is split > into an RBIT and a CLZ instruction. This enables CTZ-specific optimisations > in the pre-reload RTL optimisers. > > Bootstrapped and tested on aarch64-none-linux-gnu. > > Ok for trunk?
Makes sense to me. Thanks for the patch. OK. Thanks, James > 2016-05-26 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > PR middle-end/37780 > * config/aarch64/aarch64.md (ctz<mode>2): Convert to > define_insn_and_split.