Re: [PATCH][RFC] Extend memset recognition

2012-08-19 Thread H.J. Lu
On Tue, Jun 5, 2012 at 2:21 AM, Richard Guenther wrote: > On Thu, 31 May 2012, Richard Guenther wrote: > >> On Wed, 30 May 2012, Richard Guenther wrote: >> >> > >> > The patch below extents memset recognition to cover a few more >> > non-byte-size store loops and all byte-size store loops. This e

Re: [PATCH][RFC] Extend memset recognition

2012-06-05 Thread Richard Guenther
On Thu, 31 May 2012, Richard Guenther wrote: > On Wed, 30 May 2012, Richard Guenther wrote: > > > > > The patch below extents memset recognition to cover a few more > > non-byte-size store loops and all byte-size store loops. This exposes > > issues with our builtins.exp testsuite which has cus

Re: [PATCH][RFC] Extend memset recognition

2012-05-31 Thread Michael Matz
Hi, On Thu, 31 May 2012, Richard Guenther wrote: > > Bootstrapped (with memset recognition enabled by default) and tested > > on x86_64-unknown-linux-gnu with the aforementioned issues. > > The following fixes it by simply always adding > -fno-tree-loop-distribute-patterns to builtins.exp. >

Re: [PATCH][RFC] Extend memset recognition

2012-05-31 Thread Richard Guenther
On Wed, 30 May 2012, Richard Guenther wrote: > > The patch below extents memset recognition to cover a few more > non-byte-size store loops and all byte-size store loops. This exposes > issues with our builtins.exp testsuite which has custom memset > routines like > > void * > my_memset (void *

[PATCH][RFC] Extend memset recognition

2012-05-30 Thread Richard Guenther
The patch below extents memset recognition to cover a few more non-byte-size store loops and all byte-size store loops. This exposes issues with our builtins.exp testsuite which has custom memset routines like void * my_memset (void *d, int c, size_t n) { char *dst = (char *) d; while (n--)