Re: [PATCH] Fix memset recognition, paper over PR53346

2012-05-21 Thread Richard Guenther
On Fri, 18 May 2012, Andi Kleen wrote: > Richard Guenther writes: > > > In PR53346 we vectorize a simple memset loop very inefficiently. > > But of course we should have detected this and transformed the > > loop into a memset! Seems like we only do that if the original > > loop does sth else t

Re: [PATCH] Fix memset recognition, paper over PR53346

2012-05-18 Thread Andi Kleen
Richard Guenther writes: > In PR53346 we vectorize a simple memset loop very inefficiently. > But of course we should have detected this and transformed the > loop into a memset! Seems like we only do that if the original > loop does sth else than memset as well. Is there a way to turn this off

Re: [PATCH] Fix memset recognition, paper over PR53346

2012-05-18 Thread Richard Guenther
On Fri, 18 May 2012, Richard Guenther wrote: > > In PR53346 we vectorize a simple memset loop very inefficiently. > But of course we should have detected this and transformed the > loop into a memset! Seems like we only do that if the original > loop does sth else than memset as well. > > Fixed