lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190729204417.GA2146@avx2>
Date:   Mon, 29 Jul 2019 23:44:17 +0300
From:   Alexey Dobriyan <adobriyan@...il.com>
To:     Peter Zijlstra <peterz@...radead.org>
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 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.

Hopefully x86 assembly won't get to that level.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ