From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21693 invoked by alias); 25 Oct 2017 23:37:35 -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 21680 invoked by uid 89); 25 Oct 2017 23:37:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Oct 2017 23:37:32 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id v9PNbRsN012800; Wed, 25 Oct 2017 18:37:28 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id v9PNbOkB012799; Wed, 25 Oct 2017 18:37:24 -0500 Date: Wed, 25 Oct 2017 23:41:00 -0000 From: Segher Boessenkool To: Steven Munroe Cc: gcc-patches , David Edelsohn Subject: Re: [PATCH, rs6000] 2/2 Add x86 SSE2 intrinsics to GCC PPC64LE target Message-ID: <20171025233724.GJ4406@gate.crashing.org> References: <1508264836.7529.23.camel@oc7878010663> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1508264836.7529.23.camel@oc7878010663> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg01870.txt.bz2 Hi! On Tue, Oct 17, 2017 at 01:27:16PM -0500, Steven Munroe wrote: > This it part 2/2 for contributing PPC64LE support for X86 SSE2 > instrisics. This patch includes testsuite/gcc.target tests for the > intrinsics included by emmintrin.h. > --- gcc/testsuite/gcc.target/powerpc/sse2-mmx.c (revision 0) > +++ gcc/testsuite/gcc.target/powerpc/sse2-mmx.c (revision 0) > @@ -0,0 +1,83 @@ > +/* { dg-do run } */ > +/* { dg-options "-O3 -mdirect-move" } */ > +/* { dg-require-effective-target lp64 } */ > +/* { dg-require-effective-target p8vector_hw } */ > +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ Why this dg-skip-if? Also, why -mdirect-move? Okay for trunk with that taken care of. Sorry it took a while. Have you tested this on big endian btw? Segher