From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75561 invoked by alias); 13 Oct 2017 18:55:42 -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 75548 invoked by uid 89); 13 Oct 2017 18:55:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=LAST X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Oct 2017 18:55:40 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DEC2BA34DE; Fri, 13 Oct 2017 18:55:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com DEC2BA34DE Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law@redhat.com Received: from localhost.localdomain (ovpn-112-4.rdu2.redhat.com [10.10.112.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id E8C8C60BEC; Fri, 13 Oct 2017 18:55:37 +0000 (UTC) Subject: Re: SUBREG_PROMOTED_VAR_P handling in expand_direct_optab_fn To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org References: <877ewt1ry3.fsf@linaro.org> From: Jeff Law Message-ID: <39264909-8b45-e6b0-ded4-61d7b6745ec8@redhat.com> Date: Fri, 13 Oct 2017 19:04:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <877ewt1ry3.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00906.txt.bz2 On 09/20/2017 06:21 AM, Richard Sandiford wrote: > This is needed by the later SVE LAST reductions, where an 8-bit > or 16-bit result is zero- rather than sign-extended to 32 bits. > I think it could occur in other situations too. > > Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linus-gnu. > OK to install? > > Richard > > > 2017-09-20 Richard Sandiford > Alan Hayward > David Sherwood > > gcc/ > * internal-fn.c (expand_direct_optab_fn): Don't assign directly > to a SUBREG_PROMOTED_VAR. OK. jeff