[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2205200510350.52080@angie.orcam.me.uk>
Date: Fri, 20 May 2022 12:08:02 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Paul Cercueil <paul@...pouillou.net>
cc: kernel test robot <lkp@...el.com>, llvm@...ts.linux.dev,
kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
linux-mips <linux-mips@...r.kernel.org>
Subject: Re: arch/mips/include/asm/checksum.h:195:9: error: unsupported inline
asm: input with type 'unsigned long' matching output with type '__wsum' (aka
'unsigned int')
On Thu, 19 May 2022, Paul Cercueil wrote:
> About the real issue: Maybe the last "addu" in csum_tcpudp_nofold() should be
> a "daddu"?
It doesn't matter whether there is ADDU or DADDU anymore, given that
commit 198688edbf77 ("MIPS: Fix inline asm input/output type mismatch in
checksum.h used with Clang") has added a redundant 32-bit sign-extension
operation right afterwards, regressing size/performance by an extra
instruction in this performance-critical code as a workaround for a stupid
compiler.
I'm not sure though why the bot has been verifying old commit
c434b9f80b09 ("MIPS: Kconfig: add MIPS_GENERIC_KERNEL symbol") instead,
which predates the workaround. Perhaps current master also fails to build
in this file for one reason or another and bisection has misled the bot
into an unrelated commit?
Maciej
Powered by blists - more mailing lists