[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+icZUWvQXUV_ibuWoAASqrCS42Q5PsQhtf1_qz_MALWcUQhiQ@mail.gmail.com>
Date: Thu, 23 Jul 2020 10:18:30 +0200
From: Sedat Dilek <sedat.dilek@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Arnd Bergmann <arnd@...db.de>,
"David S. Miller" <davem@...emloft.net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, Tim Chen <tim.c.chen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Jiri Slaby <jslaby@...e.cz>,
Peter Zijlstra <peterz@...radead.org>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Clang-Built-Linux ML <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] x86: crypto: fix building crc32c with clang ias
On Thu, Jul 23, 2020 at 9:57 AM Herbert Xu <herbert@...dor.apana.org.au> wrote:
>
> On Wed, May 27, 2020 at 04:17:40PM +0200, Arnd Bergmann wrote:
> > The clang integrated assembler complains about movzxw:
> >
> > arch/x86/crypto/crc32c-pcl-intel-asm_64.S:173:2: error: invalid instruction mnemonic 'movzxw'
> >
> > It seems that movzwq is the mnemonic that it expects instead,
> > and this is what objdump prints when disassembling the file.
> >
> > Fixes: 6a8ce1ef3940 ("crypto: crc32c - Optimize CRC32C calculation with PCLMULQDQ instruction")
> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
> > ---
> > arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Patch applied. Thanks.
>
Thanks you very much.
Now we have all x86/crypto patches to be able to use Clang's
Integrated Assembler (IAS) and build with `make LLVM_IAS=1`.
- Sedat -
[1] https://github.com/ClangBuiltLinux/linux/issues/1049#issuecomment-662609378
Powered by blists - more mailing lists