Re: PR57052, rs6000.md subregs

2013-04-24 Thread David Edelsohn
On Wed, Apr 24, 2013 at 5:01 AM, Alan Modra wrote: > Practically all of the patterns in rs6000.md having a low-part subreg > use zero as the byte number. That's correct when little-endian, but > not when big-endian, so combine loses optimization opportunities. > > This patch duplicates the insns

PR57052, rs6000.md subregs

2013-04-24 Thread Alan Modra
Practically all of the patterns in rs6000.md having a low-part subreg use zero as the byte number. That's correct when little-endian, but not when big-endian, so combine loses optimization opportunities. This patch duplicates the insns for big-endian. I know Segher has been working on removing t