Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1922500pxb; Mon, 18 Jan 2021 03:39:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaIAxyr9HGH808jNrh1udU9ffSD0tSgu3maH7jc2eekgpkfMB4vi/cLmXXmN+XHhDlFDb6 X-Received: by 2002:a05:6402:556:: with SMTP id i22mr2821212edx.56.1610969996446; Mon, 18 Jan 2021 03:39:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610969996; cv=none; d=google.com; s=arc-20160816; b=z//szJookBomH72FC33oFcn3o3By1Uw8jneHgK95UXq1D3C3gUiGHvQ4ldh6+wXKI3 GlNyox2WuQtgSkWdCGXz1zJSJBHnVmw9QcBn946ibH/34S+Jc11HDoQn29L4lqwCP5hL 5C/hCYpfPDkXthMmPwHX9oiXs078SEeAah1i5EAolvCGwfoDyqLDOSGZzSV0Cxdv261a ABgjcqQOoKagCyDfxEiUEIWvn9JG7hdpacRyzlwyt8nfeSKDah9RFvdke3n5nIf0cSe4 E/jlJbXQ/Ehy+MighR4TWEbe+yb2hmY1eSxtjjvpoxPK5k70BvuUwYU1K9inM5nquDjj FwhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9pbHhR8gyxPsQNeLyb1LDLE8KnlfETrDOSsphuY5KBE=; b=wg+pljyISL7vU0hY9HlqwP3HF4WHxSbZRmE430P/zdrjgMTW00yn+4cT8VGiMJLT56 EmJY2fvEhjyisyFnzi0ymcbiIG42hM08QhlNIUmxEKcx6qe6vbzgfHqUDktUc/bAKjBR QeSAOhfC+TOck/FlP1a46VSkSWcqIE/N0BWXrYZ2JQ+UyZZ1F3FP6iXg1DwPY2l7ogKb fCeZjnWeFYZW8R92OYDZC+hGv2ahpM8mvPtdfI1Xaavnk3ZDtNv5mALfCgz8EfpMS7gr +TLEr1Tq5aInxo4ogy2bq/5sxpH7DNHdN5l69qiNDpEoqWVSuT0DC9K0Ae9y5Pgmcyx4 9zVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FuABfqlz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si8297291eds.529.2021.01.18.03.39.32; Mon, 18 Jan 2021 03:39:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FuABfqlz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390369AbhARLfL (ORCPT + 99 others); Mon, 18 Jan 2021 06:35:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:60138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390124AbhARLe1 (ORCPT ); Mon, 18 Jan 2021 06:34:27 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AD4D6223E8 for ; Mon, 18 Jan 2021 11:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610969625; bh=txk10ZQHyvu2GMlkLWui5NfVGpXFv+qmKa1QzK/nGf8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FuABfqlzT3oMj/LQPLZjx6Uf1zfxI6yPH0S+8QGQbr1rt1oau0Pn24w3vS0DM512r 1CYMfxdR0LriSjFsxOh797WDh/OqmX6DcHIbxIlqyjOaQS4YgMkMbULfGtF0Tdo0N4 g/imQ3YPzeAiFOfjjtHd3UAbrmimJvQSnbQFJNI+VLO9pGhL1DCb/SLSboR8x8M3Br grXiYNyF3Wuwitnw1SYc0eV3YJz/rTP8QeuxvLJ55JiwjEa5wgX+pguomi8bd/vfIB zTBYfL4LMcYC183bPGRTDFEZ7KVVFMMDQZloclxTURkEoq/BXUdVHZ+MiS6hX4pJz5 3qmCgo7taNvjw== Received: by mail-ot1-f41.google.com with SMTP id 36so4382668otp.2 for ; Mon, 18 Jan 2021 03:33:45 -0800 (PST) X-Gm-Message-State: AOAM530MTJ2rhMrvUBLvb657dLCqM9O9LdBivLTErkp4micY75LHzD04 AjvwaD7F4XGrTuXAgSy1vmN6T7Ws7E9wja3aEkc= X-Received: by 2002:a9d:741a:: with SMTP id n26mr9868986otk.210.1610969625042; Mon, 18 Jan 2021 03:33:45 -0800 (PST) MIME-Version: 1.0 References: <20210118105557.186614-1-adrian.ratiu@collabora.com> <20210118105557.186614-2-adrian.ratiu@collabora.com> <87wnwafprh.fsf@iwork.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87wnwafprh.fsf@iwork.i-did-not-set--mail-host-address--so-tickle-me> From: Arnd Bergmann Date: Mon, 18 Jan 2021 12:33:29 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 RESEND 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning To: Adrian Ratiu Cc: Linux ARM , Nathan Chancellor , Nick Desaulniers , Arnd Bergmann , Russell King , Ard Biesheuvel , Arvind Sankar , clang-built-linux , Collabora kernel ML , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 12:28 PM Adrian Ratiu wrote: > On Mon, 18 Jan 2021, Arnd Bergmann wrote: > > On Mon, Jan 18, 2021 at 11:56 AM Adrian Ratiu wrote: > > No, clang does not produce vectorized code by default, not even > with the -ftree-vectorize flag explicitely added like in the next > patch in this series (that flag is enabled by default in clang > anyway, so no effect). > > Clang needs more investigation and testing because with additional > code changes it can be "forced" to output vectorized code, but > that is outside the scope of this series. > > If you think it's a good idea I can add a warning only for Clang > which makes more sense than telling clang users to upgrade their > GCC, since now Clang is officially supported. What do you think? Yes, either a warning or a Kconfig check seems better to me than just trying to build code that ends up not doing what it is meant to. Arnd