From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4325 invoked by alias); 12 Nov 2014 13:46:31 -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 4315 invoked by uid 89); 12 Nov 2014 13:46:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: foss-mx-na.foss.arm.com Received: from foss-mx-na.foss.arm.com (HELO foss-mx-na.foss.arm.com) (217.140.108.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Nov 2014 13:46:29 +0000 Received: from foss-smtp-na-1.foss.arm.com (unknown [10.80.61.8]) by foss-mx-na.foss.arm.com (Postfix) with ESMTP id 3E0EF66; Wed, 12 Nov 2014 07:46:21 -0600 (CST) Received: from collaborate-mta1.arm.com (highbank-bc01-b06.austin.arm.com [10.112.81.134]) by foss-smtp-na-1.foss.arm.com (Postfix) with ESMTP id 993EA5FAD7; Wed, 12 Nov 2014 07:46:13 -0600 (CST) Received: from [10.1.209.40] (e105545-lin.cambridge.arm.com [10.1.209.40]) by collaborate-mta1.arm.com (Postfix) with ESMTPS id 9CC9813F78C; Wed, 12 Nov 2014 07:46:12 -0600 (CST) Message-ID: <546364B0.9020202@arm.com> Date: Wed, 12 Nov 2014 13:48:00 -0000 From: Ramana Radhakrishnan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Christophe Lyon , "Yangfei (Felix)" CC: Michael Collison , Tejas Belagod , "gcc-patches@gcc.gnu.org" Subject: Re: [ARM] Fix CLZ_DEFINED_VALUE_AT_ZERO for vector modes References: <543633BD.9030004@linaro.org> <54363F8A.8020501@arm.com> <54482653.5060805@linaro.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg01212.txt.bz2 On 12/11/14 13:06, Christophe Lyon wrote: > On 12 November 2014 04:50, Yangfei (Felix) wrote: >>> On Wed, Oct 22, 2014 at 10:49 PM, Michael Collison >>> wrote: >>>> >>>> Patch that removes extraneous comment attached. >>>> >>>> The CLZ_DEFINED_VALUE_AT_ZERO macro is hard coded to return 32. For >>>> the vector intrinsic vclz this is incorrect and should return the >>>> value >>> >>> vclz_{s,u}8 ... >>> >>>> eight. The CTZ_DEFINED_VALUE_AT_ZERO has the same issue. >>> >>> The patch is ok . Sorry about the delay in reviewing this. >>> >>> Ramana >>> >> >> >> Hello, >> >> Can anybody backport this patch for the 4.8/4.9 branch? They have the same issue too. Thanks. >> > > Hi, > > I can take care of the backport, provided a maintainer such as Ramana > approves it first. > > The original PR (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63365) > is against 4.9.2, but the bug was present in 4.8 too. > > OK to backport it to 4.8 and 4.9? > Ok by me unless an RM objects in the next 24 hours. Ramana > Thanks, > > Christophe. >