From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15980 invoked by alias); 12 Nov 2014 13:07:03 -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 15970 invoked by uid 89); 12 Nov 2014 13:07:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f42.google.com Received: from mail-qg0-f42.google.com (HELO mail-qg0-f42.google.com) (209.85.192.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 12 Nov 2014 13:07:01 +0000 Received: by mail-qg0-f42.google.com with SMTP id i50so8889290qgf.1 for ; Wed, 12 Nov 2014 05:06:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Hz8BRleojEoF2dGWdfPGk0BIrzWyV2zTez807EOW2Ps=; b=EKCSQdsVSKDW/gru5q0L10sSTY9sv2HHIl1ex29wf4u9iVQWNGxlRebq5RN+D1FcMm 50WlhC6QMSDXlskFuKwdfw5WS4o80O6OGOI2giQiog380mgL+V35rIj8elv5JiFvKK6Z 48uiTfOtFnMdzkJDs8yUkKH4DTCKwhu6wJgoINs6RZZy45Iug3/lQ/q+LzPt1v/+7Ruc ZU4YgLRnXgvczvO2xRJTIypud6Nxoqbbf+FiooqilN4xnzoYw729q0KFXrLUkMl2uI2/ XqAEKZqLckWCNZPpaQqz2Uqss4645amTTdRq7bH2jwtpBE21smKdgMUjOz97hpEYZkWs Q8jg== X-Gm-Message-State: ALoCoQmOFTwgNmfsxtv0JFAoFGZv+ECQ54CU5tUmowr/LtjclIkACJabmq0S80pbEOAOliZgSxjH MIME-Version: 1.0 X-Received: by 10.224.75.2 with SMTP id w2mr57852080qaj.86.1415797618833; Wed, 12 Nov 2014 05:06:58 -0800 (PST) Received: by 10.140.86.114 with HTTP; Wed, 12 Nov 2014 05:06:58 -0800 (PST) In-Reply-To: References: <543633BD.9030004@linaro.org> <54363F8A.8020501@arm.com> <54482653.5060805@linaro.org> Date: Wed, 12 Nov 2014 13:11:00 -0000 Message-ID: Subject: Re: [ARM] Fix CLZ_DEFINED_VALUE_AT_ZERO for vector modes From: Christophe Lyon To: "Yangfei (Felix)" Cc: "ramrad01@arm.com" , Michael Collison , Tejas Belagod , "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg01194.txt.bz2 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? Thanks, Christophe.