From: kbuild test robot <lkp@intel.com>
To: Jiri Kosina <jikos@kernel.org>
Cc: kbuild-all@01.org, Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
x86@kernel.org, linux-kernel@vger.kernel.org,
Mike Galbraith <umgwanakikbuti@gmail.com>,
Borislav Petkov <bp@suse.de>
Subject: Re: [PATCH v2] x86/hweight: fix open-coded versions of 32bit and 64bit hweight calculations
Date: Tue, 9 Aug 2016 00:34:06 +0800 [thread overview]
Message-ID: <201608090046.JZn4b4uJ%fengguang.wu@intel.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1608081808270.22028@cbobk.fhfr.pm>
[-- Attachment #1: Type: text/plain, Size: 2538 bytes --]
Hi Jiri,
[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.8-rc1 next-20160808]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Jiri-Kosina/x86-hweight-fix-open-coded-versions-of-32bit-and-64bit-hweight-calculations/20160809-001505
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
>> arch/x86/lib/hweight.S:63:2: error: #else without #if
#else /* CONFIG_X86_32 */
^~~~
>> arch/x86/lib/hweight.S:75:2: error: #endif without #if
#endif
^~~~~
vim +63 arch/x86/lib/hweight.S
f5967101 Borislav Petkov 2016-05-30 57 movabsq $0x0101010101010101, %rdx
4792d6cc Jiri Kosina 2016-08-08 58 imulq %rdx, %rax
4792d6cc Jiri Kosina 2016-08-08 59 shrq $56, %rax
f5967101 Borislav Petkov 2016-05-30 60
f5967101 Borislav Petkov 2016-05-30 61 popq %rdx
f5967101 Borislav Petkov 2016-05-30 62 ret
f5967101 Borislav Petkov 2016-05-30 @63 #else /* CONFIG_X86_32 */
f5967101 Borislav Petkov 2016-05-30 64 /* We're getting an u64 arg in (%eax,%edx): unsigned long hweight64(__u64 w) */
f5967101 Borislav Petkov 2016-05-30 65 pushl %ecx
f5967101 Borislav Petkov 2016-05-30 66
f5967101 Borislav Petkov 2016-05-30 67 call __sw_hweight32
f5967101 Borislav Petkov 2016-05-30 68 movl %eax, %ecx # stash away result
f5967101 Borislav Petkov 2016-05-30 69 movl %edx, %eax # second part of input
f5967101 Borislav Petkov 2016-05-30 70 call __sw_hweight32
f5967101 Borislav Petkov 2016-05-30 71 addl %ecx, %eax # result
f5967101 Borislav Petkov 2016-05-30 72
f5967101 Borislav Petkov 2016-05-30 73 popl %ecx
f5967101 Borislav Petkov 2016-05-30 74 ret
f5967101 Borislav Petkov 2016-05-30 @75 #endif
f5967101 Borislav Petkov 2016-05-30 76 ENDPROC(__sw_hweight64)
:::::: The code at line 63 was first introduced by commit
:::::: f5967101e9de12addcda4510dfbac66d7c5779c3 x86/hweight: Get rid of the special calling convention
:::::: TO: Borislav Petkov <bp@suse.de>
:::::: CC: Ingo Molnar <mingo@kernel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 6290 bytes --]
next prev parent reply other threads:[~2016-08-08 16:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 12:04 x86 PMU broken in current Linus' tree Jiri Kosina
2016-08-02 12:55 ` Peter Zijlstra
2016-08-02 13:31 ` Jiri Kosina
2016-08-08 10:26 ` Peter Zijlstra
2016-08-08 14:41 ` Jiri Kosina
2016-08-08 16:12 ` [PATCH v2] x86/hweight: fix open-coded versions of 32bit and 64bit hweight calculations Jiri Kosina
2016-08-08 16:34 ` kbuild test robot [this message]
2016-08-08 18:48 ` Jiri Kosina
2016-08-08 18:53 ` Borislav Petkov
2016-08-08 18:55 ` Jiri Kosina
2016-08-10 13:59 ` Ingo Molnar
2016-08-10 14:05 ` Jiri Kosina
2016-08-11 0:09 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201608090046.JZn4b4uJ%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=bp@suse.de \
--cc=jikos@kernel.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=umgwanakikbuti@gmail.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®