From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20291 invoked by alias); 16 Feb 2014 22:05:19 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20281 invoked by uid 89); 16 Feb 2014 22:05:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f172.google.com Received: from mail-vc0-f172.google.com (HELO mail-vc0-f172.google.com) (209.85.220.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 16 Feb 2014 22:05:18 +0000 Received: by mail-vc0-f172.google.com with SMTP id lf12so10951179vcb.17 for ; Sun, 16 Feb 2014 14:05:16 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.52.232.168 with SMTP id tp8mr2060358vdc.38.1392588316601; Sun, 16 Feb 2014 14:05:16 -0800 (PST) Received: by 10.220.11.5 with HTTP; Sun, 16 Feb 2014 14:05:16 -0800 (PST) In-Reply-To: <1392571196.20991.24.camel@gnopaine> References: <1392571196.20991.24.camel@gnopaine> Date: Sun, 16 Feb 2014 22:05:00 -0000 Message-ID: Subject: Re: [PATCH, rs6000] Provide little-endian support for vmrgew and vmrgow From: David Edelsohn To: Bill Schmidt Cc: GCC Patches Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2014-02/txt/msg00977.txt.bz2 On Sun, Feb 16, 2014 at 12:19 PM, Bill Schmidt wrote: > Hi, > > With -mcpu=power8, we see two test cases (gcc.dg/vect/slp-perm-2.c and > gcc.dg/vect/slp-perm-5.c) regress for powerpc64le-linux. GCC makes use > of some new Power8 instructions (vmrgew and vmrgow) which need > adjustment for little endian targets. As with merge-high and merge-low, > we need to reverse the order of the input vectors and reverse the use of > the "odd" and "even" instructions (since the change in element ordering > changes which elements are odd and which are even). > > Bootstrapped and tested on powerpc64{,le}-unknown-linux-gnu with no > regressions. The failing tests now run to completion. Is this ok for > trunk? > > Thanks, > Bill > > > 2014-02-16 Bill Schmidt > > * config/rs6000/altivec.md (p8_vmrgew): Handle little endian > targets. > (p8_vmrgow): Likewise. Okay. Thanks, David