Re: [PATCH 02/17] x86, lto: Disable fancy hweight optimizations forLTO v2

From: H. Peter Anvin
Date: Sat Feb 08 2014 - 13:53:11 EST


On 02/08/2014 12:01 AM, Andi Kleen wrote:
> The fancy x86 hweight uses different compiler options for the
> hweight file. This does not work with LTO. Just disable the optimization
> with LTO

No, I'm going to NAK this. This means not using the POPCNT instruction
if LTO is enabled, and that really isn't an acceptable option.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/