Re: [PATCH] Re-fix PR target/47755 on powerpc VSX

2011-03-08 Thread Michael Meissner
On Tue, Mar 08, 2011 at 07:12:27PM -0500, David Edelsohn wrote: > On Tue, Mar 8, 2011 at 6:56 PM, Michael Meissner > wrote: > > PR 47755 fixed some bugs on VSX with V2DI constants, but the patch itself > > had > > problems.  In particular, the easy_altivec_constant support assumed the > > larges

Re: [PATCH] Re-fix PR target/47755 on powerpc VSX

2011-03-08 Thread David Edelsohn
On Tue, Mar 8, 2011 at 6:56 PM, Michael Meissner wrote: > PR 47755 fixed some bugs on VSX with V2DI constants, but the patch itself had > problems.  In particular, the easy_altivec_constant support assumed the > largest > int size was SImode.  This would cause the compiler to generate VSPLTI{W,S,

[PATCH] Re-fix PR target/47755 on powerpc VSX

2011-03-08 Thread Michael Meissner
PR 47755 fixed some bugs on VSX with V2DI constants, but the patch itself had problems. In particular, the easy_altivec_constant support assumed the largest int size was SImode. This would cause the compiler to generate VSPLTI{W,S,B} to load up a constant instead of loading it up from memory. Th