[PATCH] BZ #14059 - HAS_FMA4 check needs to also check for AVX

Jeff Law law@redhat.com
Fri May 11 20:36:00 GMT 2012


On 05/11/2012 09:22 AM, Carlos O'Donell wrote:
> On Fri, May 11, 2012 at 10:31 AM, Jeff Law<law@redhat.com>  wrote:
>> On 05/11/2012 06:05 AM, Carlos O'Donell wrote:
>>>>
>>>>
>>>> Here's a combined patch that compiled fine for me on
>>>> Linux/x86-64. Jeff, could you test it under Xen, please?
>>
>> I've finally got functional access to a box which exhibits the problem; so
>> yes, I'll take this patch for a spin and report back.
>
> Would you test this final unified patch?
This patch doesn't work.  It causes infinite mutual recursion between 
init_cpu_features and get_cpu_features.

AFAICT, you can't use the CPUID_XXX macros (which call get_cpu_features) 
until init_cpu_features is complete.

jeff



More information about the Libc-alpha mailing list