[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5DF8B85C-57EF-4AE4-A2EE-863D06D7C55E@zytor.com>
Date: Tue, 30 Jul 2019 06:42:51 -0700
From: hpa@...or.com
To: Peter Zijlstra <peterz@...radead.org>,
Alexey Dobriyan <adobriyan@...il.com>
CC: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: drop REG_OUT macro from hweight functions
On July 30, 2019 1:08:43 AM PDT, Peter Zijlstra <peterz@...radead.org> wrote:
>On Mon, Jul 29, 2019 at 11:44:17PM +0300, Alexey Dobriyan wrote:
>> On Mon, Jul 29, 2019 at 12:04:47PM +0200, Peter Zijlstra wrote:
>> > +#define _ASM_ARG1B __ASM_FORM_RAW(dil)
>> > +#define _ASM_ARG2B __ASM_FORM_RAW(sil)
>> > +#define _ASM_ARG3B __ASM_FORM_RAW(dl)
>> > +#define _ASM_ARG4B __ASM_FORM_RAW(cl)
>> > +#define _ASM_ARG5B __ASM_FORM_RAW(r8b)
>> > +#define _ASM_ARG6B __ASM_FORM_RAW(r9b)
>>
>> I preprocessed percpu code once to see what precisely it does because
>> it was easier than wading through forest of macroes.
>
>Per cpu is easy, try reading the tracepoint code ;-)
Sometimes it's the .s file one ends up wanting to check out...
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Powered by blists - more mailing lists