On 14/09/12 16:26, Ian Bolton wrote: > I've implemented the standard pattern ffs, which leads to > __builtin_ffs being generated with 4 instructions instead > of 5 instructions. > > Regression tests and my new test pass. > > OK to commit? > > > Cheers, > Ian > > > > 2012-09-14 Ian Bolton <ian.bol...@arm.com> > > gcc/ > * config/aarch64/aarch64.md (csinc3<mode>): Make it into a > named pattern. > * config/aarch64/aarch64.md (ffs<mode>2): New pattern. > > testsuite/ > > * gcc.target/aarch64/ffs.c: New test. >
OK. R.