]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/crc32c - fix building with clang ias
authorArnd Bergmann <arnd@arndb.de>
Wed, 27 May 2020 14:17:40 +0000 (16:17 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Jul 2020 07:34:16 +0000 (17:34 +1000)
commit0407694c3cb3804fec1df274ad8ffafda7ada066
tree18df66f7703372af625b6f036d52056f5926a5ac
parentc8794473d69126f2aa3a05892df662eb2cba738f
crypto: x86/crc32c - fix building with clang ias

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: 51aecb8942fa ("crypto: crc32c - Optimize CRC32C calculation with PCLMULQDQ instruction")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/crc32c-pcl-intel-asm_64.S