From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76607 invoked by alias); 19 Dec 2016 17:41:34 -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 76595 invoked by uid 89); 19 Dec 2016 17:41:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1088, his, H*r:8.13.8 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; Mon, 19 Dec 2016 17:41:30 +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 uBJHfQI0006012; Mon, 19 Dec 2016 11:41:26 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id uBJHfPjt006006; Mon, 19 Dec 2016 11:41:25 -0600 Date: Mon, 19 Dec 2016 17:50:00 -0000 From: Segher Boessenkool To: Will Schmidt Cc: GCC Patches , Bill Schmidt , David Edelsohn Subject: Re: [PATCH, rs6000] Fold vector subtract built-ins in GIMPLE Message-ID: <20161219174124.GC11295@gate.crashing.org> References: <1482166868.13393.53.camel@brimstone.rchland.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482166868.13393.53.camel@brimstone.rchland.ibm.com> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg01636.txt.bz2 Hi, uh, Will, On Mon, Dec 19, 2016 at 11:01:08AM -0600, Will Schmidt wrote: > This patch implements folding of the vector subtract built-ins. This > follows the form used by Bill in his previous "Fold vector addition > built-ins in GIMPLE" patch. :-) > > Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no > regressions. Is this ok for trunk? This looks fine. Yes, okay for trunk. Thanks, Segher > 2016-12-19 Will Schmidt > > * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for > early expansion of vector subtract builtins. > > [gcc/testsuite] > > 2016-12-19 Will Schmidt > > * gcc.target/powerpc/fold-vec-sub-char.c: New. > * gcc.target/powerpc/fold-vec-sub-float.c: New. > * gcc.target/powerpc/fold-vec-sub-floatdouble.c: New. > * gcc.target/powerpc/fold-vec-sub-int.c: New. > * gcc.target/powerpc/fold-vec-sub-int128.c: New. > * gcc.target/powerpc/fold-vec-sub-longlong.c: New. > * gcc.target/powerpc/fold-vec-sub-short.c: New.