x86: math-emu: Fix up 'cmp' insn for clang ias
authorArnd Bergmann <arnd@arndb.de>
Wed, 27 May 2020 13:53:46 +0000 (15:53 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jul 2020 15:26:42 +0000 (17:26 +0200)
commit81e96851ea32deb2c921c870eecabf335f598aeb
tree778124b26ba3fb5506f28e89c8286a8f80367cc8
parent5769fe26f389b0002ed48fd16d642a1d86edaf79
x86: math-emu: Fix up 'cmp' insn for clang ias

The clang integrated assembler requires the 'cmp' instruction to
have a length prefix here:

arch/x86/math-emu/wm_sqrt.S:212:2: error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', or 'cmpl')
 cmp $0xffffffff,-24(%ebp)
 ^

Make this a 32-bit comparison, which it was clearly meant to be.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lkml.kernel.org/r/20200527135352.1198078-1-arnd@arndb.de
arch/x86/math-emu/wm_sqrt.S