Re: [PATCH, AArch64] Implement ffs standard pattern

2012-09-17 Thread Richard Earnshaw
On 17/09/12 15:18, Ian Bolton wrote: > OK for aarch64-4.7-branch as well? > yes. R. >> -Original Message- >> From: Richard Earnshaw >> Sent: 14 September 2012 18:31 >> To: Ian Bolton >> Cc: gcc-patches@gcc.gnu.org >> Subject: Re: [PATCH, AArch6

RE: [PATCH, AArch64] Implement ffs standard pattern

2012-09-17 Thread Ian Bolton
OK for aarch64-4.7-branch as well? > -Original Message- > From: Richard Earnshaw > Sent: 14 September 2012 18:31 > To: Ian Bolton > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH, AArch64] Implement ffs standard pattern > > On 14/09/12 16:26, Ian Bolton wrote:

Re: [PATCH, AArch64] Implement ffs standard pattern

2012-09-14 Thread Richard Earnshaw
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

[PATCH, AArch64] Implement ffs standard pattern

2012-09-14 Thread Ian Bolton
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 gcc/ * config/aarch64/aarch64.md (csinc3): Make it into a