This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86: Replace CpuABM with CpuPOPCNT


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]