[PATCH] x86: Replace CpuABM with CpuPOPCNT

Jan Beulich jbeulich@suse.com
Mon Feb 17 15:40:00 GMT 2020


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



More information about the Binutils mailing list