[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] x86/cpuid:add AVX512_4VNNIW and AVX512_4FMAP
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2] x86/cpuid:add AVX512_4VNNIW and AVX512_4FMAPS features. |
Date: |
Mon, 31 Oct 2016 18:56:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 31/10/2016 18:20, Eduardo Habkost wrote:
> On Mon, Oct 31, 2016 at 04:27:26PM +0800, He Chen wrote:
>> From: Luwei Kang <address@hidden>
>>
>> The spec can be found in Intel Software Developer Manual or in
>> Instruction Set Extensions Programming Reference.
>>
>> Signed-off-by: Luwei Kang <address@hidden>
>> Signed-off-by: Piotr Luc <address@hidden>
>>
>> ---
>> Changes in v2:
>> * correct TCG_7_0_EDX_FEATURES.
>
> Reviewed-by: Eduardo Habkost <address@hidden>
>
> Applied to x86-next with the following fixup:
I have already sent a pull request for this patch, sorry.
Paolo
> diff --git a/target-i386/cpu.h b/target-i386/cpu.h
> index c605724..6c6f8ae 100644
> --- a/target-i386/cpu.h
> +++ b/target-i386/cpu.h
> @@ -631,7 +631,8 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS];
> #define CPUID_7_0_ECX_RDPID (1U << 22)
>
> #define CPUID_7_0_EDX_AVX512_4VNNIW (1U << 2) /* AVX512 Neural Network
> Instructions */
> -#define CPUID_7_0_EDX_AVX512_4FMAPS (1U << 3) /* AVX512 Multiply
> Accumulation Single Precision */
> +#define CPUID_7_0_EDX_AVX512_4FMAPS (1U << 3) /* AVX512 Multiply Accumulation
> + * Single Precision */
>
> #define CPUID_XSAVE_XSAVEOPT (1U << 0)
> #define CPUID_XSAVE_XSAVEC (1U << 1)
>