From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17749 invoked by alias); 16 Jan 2019 17:08:50 -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 17695 invoked by uid 89); 16 Jan 2019 17:08:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=our 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, 16 Jan 2019 17:08:47 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x0GH8eZM029838; Wed, 16 Jan 2019 11:08:41 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id x0GH8bxd029830; Wed, 16 Jan 2019 11:08:37 -0600 Date: Wed, 16 Jan 2019 17:08:00 -0000 From: Segher Boessenkool To: "Kewen.Lin" Cc: gcc-patches@gcc.gnu.org, Bill Schmidt Subject: Re: [PATCH] rs6000: Add missing prototypes for vec_ld/vec_st Message-ID: <20190116170836.GO14180@gate.crashing.org> References: <6ec34045-1305-cc17-15df-0cc28e5c8c77@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ec34045-1305-cc17-15df-0cc28e5c8c77@linux.vnet.ibm.com> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00931.txt.bz2 Hi Kewen, On Wed, Jan 16, 2019 at 10:08:46PM +0800, Kewen.Lin wrote: > On target rs6000, for all types, use of vec_ld/vec_st historically permits the dereferenced pointer to be of a scalar type or the corresponding vector type. But for vector unsigned/signed long long and double, we have an omission in our table for vec_ld/vec_st. > > Ok for trunk, and eventual backport to GCC 7 and 8 aftersome burn-in time? This looks fine, thanks! Okay for trunk. Also okay for 8 and 7 (do the backports in that order please) after a week or so. Segher > 2019-01-16 Kewen Lin > > * doc/extend.texi: Add four new prototypes for vec_ld and seven new > prototypes for vec_st. > * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add entries > for scalar address type variants of altivec_vec_ld/altivec_vec_st, > mainly on signed/unsigned long long and double. > > gcc/testsuite/ChangeLog > > 2019-01-16 Kewen Lin > > * gcc.target/powerpc/altivec_vld_vst_addr.c: New test.