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

From: H. Peter Anvin
Date: Wed May 04 2016 - 15:50:21 EST


On 05/04/2016 12:41 PM, Borislav Petkov wrote:
> On Wed, May 04, 2016 at 12:33:24PM -0700, H. Peter Anvin wrote:
>> Most likely not. It would be nice to have some more uniform solution to
>> that. I'm wondering if we could use the -Wa option to load some kind of
>> macro package.
>
> Lemme try out some old compilers first, I'm guessing 3.2 won't know
> about popcnt...
>

Sigh. Doesn't look like -Wa is going to help due to the lack of the
equivalent of an -include option in gas.

-hpa