[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190730080843.GG31381@hirez.programming.kicks-ass.net>
Date: Tue, 30 Jul 2019 10:08:43 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, hpa@...or.com,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: drop REG_OUT macro from hweight functions
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 ;-)
Powered by blists - more mailing lists