Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1394717

Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention

From "H. Peter Anvin" <hpa@zytor.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention
Date 2016-05-04 23:00 +0200
Message-ID <rvc3M-2AW-11@gated-at.bofh.it> (permalink)
References (6 earlier) <rvaOm-1Bc-5@gated-at.bofh.it> <rvaOn-1Bc-31@gated-at.bofh.it> <rvaY2-1FZ-9@gated-at.bofh.it> <rvb7I-1Kt-13@gated-at.bofh.it> <rvbAK-2kO-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/04/2016 01:22 PM, Borislav Petkov wrote:
> On Wed, May 04, 2016 at 12:49:17PM -0700, H. Peter Anvin wrote:
>> Sigh.  Doesn't look like -Wa is going to help due to the lack of the
>> equivalent of an -include option in gas.
> 
> So much for the register "freedom" - I'll resurrect the hardcoded insn
> bytes. :-\
> 
> Unless my gcc friends have some other ideas...

There is the option of looking for assembler support for popcnt and only
hard-code the register if not supported.  This is where being able to
insert a macro package would help...

	-hpa

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-04 20:50 +0200
  Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Brian Gerst <brgerst@gmail.com> - 2016-05-04 21:40 +0200
    Re: [RFC PATCH] x86/hweight: Get rid of the special calling  convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-04 21:40 +0200
      Re: [RFC PATCH] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-04 21:50 +0200
        Re: [RFC PATCH] x86/hweight: Get rid of the special calling  convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-04 22:00 +0200
          Re: [RFC PATCH] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-04 22:30 +0200
            Re: [RFC PATCH] x86/hweight: Get rid of the special calling  convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-04 23:00 +0200
            Re: [RFC PATCH] x86/hweight: Get rid of the special calling  convention Andi Kleen <andi@firstfloor.org> - 2016-05-04 23:20 +0200
            Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Denys Vlasenko <dvlasenk@redhat.com> - 2016-05-05 15:10 +0200
              Re: [RFC PATCH] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-05 16:10 +0200
                [PATCH -v2] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-10 19:00 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Peter Zijlstra <peterz@infradead.org> - 2016-05-10 19:30 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-10 21:10 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-10 21:20 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-11 00:40 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-11 06:20 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Brian Gerst <brgerst@gmail.com> - 2016-05-11 13:20 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Peter Zijlstra <peterz@infradead.org> - 2016-05-11 13:30 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-11 14:50 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-12 07:00 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-12 14:00 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Peter Zijlstra <peterz@infradead.org> - 2016-05-12 14:20 +0200
                Re: [PATCH -v2] x86/hweight: Get rid of the special calling  convention Borislav Petkov <bp@suse.de> - 2016-05-10 21:10 +0200

csiph-web