Re: [patch] Generate block moves for bitfield initialization

2012-05-14 Thread Richard Guenther
On Sun, May 13, 2012 at 10:45 AM, Eric Botcazou wrote: > Hi, > > this patch has been in our tree for a while and helps in Ada where you can do > block assignments to structures at will.  I've attached a C testcase.  The > unpatch compiler generates for it on PowerPC at -O2: > > foo: >        lis 1

[patch] Generate block moves for bitfield initialization

2012-05-13 Thread Eric Botcazou
Hi, this patch has been in our tree for a while and helps in Ada where you can do block assignments to structures at will. I've attached a C testcase. The unpatch compiler generates for it on PowerPC at -O2: foo: lis 10,s@ha li 8,27 la 9,s@l(10) stb 8,s@l(10)