Received: from eggs.gnu.org ([2001:4830:134:3::10]:40837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1Goo-0002fW-Ib for qemu-devel@nongnu.org; Mon, 31 Oct 2016 13:56:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1Gol-0008My-Ew for qemu-devel@nongnu.org; Mon, 31 Oct 2016 13:56:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52014) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1Gol-0008Ms-8t for qemu-devel@nongnu.org; Mon, 31 Oct 2016 13:56:19 -0400 References: <1477902446-5932-1-git-send-email-he.chen@linux.intel.com> <20161031172044.GB2919@thinpad.lan.raisama.net> From: Paolo Bonzini Message-ID: <78c8ebf4-5eb4-9fb1-1621-6a0abbabdcb0@redhat.com> Date: Mon, 31 Oct 2016 18:56:12 +0100 MIME-Version: 1.0 In-Reply-To: <20161031172044.GB2919@thinpad.lan.raisama.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] x86/cpuid:add AVX512_4VNNIW and AVX512_4FMAPS features. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , He Chen Cc: qemu-devel@nongnu.org, Piotr Luc , Luwei Kang , Richard Henderson 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 >> >> The spec can be found in Intel Software Developer Manual or in >> Instruction Set Extensions Programming Reference. >> >> Signed-off-by: Luwei Kang >> Signed-off-by: Piotr Luc >> >> --- >> Changes in v2: >> * correct TCG_7_0_EDX_FEATURES. > > Reviewed-by: Eduardo Habkost > > 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) >