Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention

From: Borislav Petkov
Date: Thu May 05 2016 - 10:04:56 EST


On Thu, May 05, 2016 at 03:02:37PM +0200, Denys Vlasenko wrote:
> You are looking at the version of a wrong program.
> gcc doesn't process assembly, it generates it.
> as is part of binutils, not gcc. "as --version".

I know. It doesn't matter a whole lot in this case if there's a subset
of gas versions which simply don't know about POPCNT and we do use
those in the kernel build.

Pending a better solution, I'll simply revert to the old, spelled POPCNT
bytes and don't bother with versions. Especially if someone tries to
build the kernel with some other compiler...

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--