This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: Replace CpuABM with CpuPOPCNT
- From: Jan Beulich <jbeulich at suse dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 17 Feb 2020 16:40:18 +0100
- Subject: Re: [PATCH] x86: Replace CpuABM with CpuPOPCNT
- References: <20200217152740.GA270001@gmail.com>
On 17.02.2020 16:27, H.J. Lu wrote:
> AMD ABM has 2 instructions: popcnt and lzcnt. ABM CPUID feature bit has
> been reused for lzcnt and a POPCNT CPUID feature bit is added for popcnt.
> This patch removes CpuABM and adds CpuPOPCNT. It changes ABM to enable
> both lzcnt and popcnt, changes SSE4.2 to also enable popcnt.
I don't think removing support for something may have in active and
working use is a good idea. Adding some better mechanism as
_suggested_ replacement is of course fine, but people would better
not be forced to change their _correct_ code because of gas side
change.
Jan