On Fri, Aug 05, 2016 at 05:00:39PM -0500, Pat Haugen wrote:
> On 08/03/2016 11:33 PM, Michael Meissner wrote:
> > {
> > - if (BYTES_BIG_ENDIAN)
> > -return "xxpermdi %x0,%x1,%x2,0";
> > + if (which_alternative == 0)
> > +return (BYTES_BIG_ENDIAN
> > + ? "xxpermdi %x0,%x1,%x2,0"
> >
On Thu, Aug 04, 2016 at 10:03:36AM -0500, Segher Boessenkool wrote:
> Hi Mike,
>
> On Thu, Aug 04, 2016 at 12:33:44AM -0400, Michael Meissner wrote:
> > I built spec 2006 with these patches on a little endian power8 system, and
> > at
> > least 18 of the benchmarks had vector initializations repl
On 08/03/2016 11:33 PM, Michael Meissner wrote:
> {
> - if (BYTES_BIG_ENDIAN)
> -return "xxpermdi %x0,%x1,%x2,0";
> + if (which_alternative == 0)
> +return (BYTES_BIG_ENDIAN
> + ? "xxpermdi %x0,%x1,%x2,0"
> + : "xxpermdi %x0,%x2,%x1,0");
> +
> + else if (which_alternativ
Hi Mike,
On Thu, Aug 04, 2016 at 12:33:44AM -0400, Michael Meissner wrote:
> I built spec 2006 with these patches on a little endian power8 system, and at
> least 18 of the benchmarks had vector initializations replaced. Most
> benchmarks only used the initialization in a few places, but gamess,
This is a set of 3 patches to improve initializing vectors on the PowerPC.
The first patch changes the initialization of vector int where the
initialization part was not constant. Previously, the compiler would create
the vector initialization on the stack and load it up, and now on 64-bit power8