From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DFCBC3F2D1 for ; Fri, 6 Mar 2020 01:52:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 218172073D for ; Fri, 6 Mar 2020 01:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726498AbgCFBw6 (ORCPT ); Thu, 5 Mar 2020 20:52:58 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:46192 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbgCFBw6 (ORCPT ); Thu, 5 Mar 2020 20:52:58 -0500 Received: from gwarestrin.me.apana.org.au ([192.168.0.7] helo=gwarestrin.arnor.me.apana.org.au) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1jA2AF-0005ws-Lf; Fri, 06 Mar 2020 12:52:36 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 06 Mar 2020 12:52:35 +1100 Date: Fri, 6 Mar 2020 12:52:35 +1100 From: Herbert Xu To: Stefan Agner Cc: davem@davemloft.net, linux@armlinux.org.uk, manojgupta@google.com, jiancai@google.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] crypto: arm/ghash-ce - define fpu before fpu registers are referenced Message-ID: <20200306015235.GO30653@gondor.apana.org.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Mar 02, 2020 at 12:37:14AM +0100, Stefan Agner wrote: > Building ARMv7 with Clang's integrated assembler leads to errors such > as: > arch/arm/crypto/ghash-ce-core.S:34:11: error: register name expected > t3l .req d16 > ^ > > Since no FPU has selected yet Clang considers d16 not a valid register. > Moving the FPU directive on-top allows Clang to parse the registers and > allows to successfully build this file with Clang's integrated assembler. > > Signed-off-by: Stefan Agner > --- > arch/arm/crypto/ghash-ce-core.S | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt