From: Eduardo Habkost Subject: Re: [Qemu-devel] [PATCH] target-i386: add Intel AVX-512 support Date: Fri, 24 Oct 2014 14:38:37 -0200 Message-ID: <20141024163837.GC25413@thinpad.lan.raisama.net> References: <1414033363-31032-1-git-send-email-chao.p.peng@linux.intel.com> <54491206.2010006@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chao Peng , qemu-devel@nongnu.org, kvm@vger.kernel.org, "Michael S. Tsirkin" , Marcelo Tosatti , Vadim Rozenfeld , Laszlo Ersek , Andreas =?iso-8859-1?Q?F=E4rber?= To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:10572 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756190AbaJXQio (ORCPT ); Fri, 24 Oct 2014 12:38:44 -0400 Content-Disposition: inline In-Reply-To: <54491206.2010006@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Oct 23, 2014 at 04:34:46PM +0200, Paolo Bonzini wrote: > On 10/23/2014 05:02 AM, Chao Peng wrote: > > Add AVX512 feature bits, register definition and corresponding > > xsave/vmstate support. > > > > Signed-off-by: Chao Peng > > --- > > target-i386/cpu.c | 10 ++++-- > > target-i386/cpu.h | 61 ++++++++++++++++++++++++++++++++++ > > target-i386/kvm.c | 19 +++++++++++ > > target-i386/machine.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++ > > 4 files changed, 175 insertions(+), 2 deletions(-) > > Looks good---Eduardo, Juan, can you look at it too? Documentation is at > > https://software.intel.com/sites/default/files/managed/68/8b/319433-019.pdf > > See Tables 2-5, 3-6, 3-7, 3-8. Also, if anybody is confused by the TARGET_X86_64 #ifdefs, see section 1.2.2 32 SIMD Register Support ("The number of available vector registers in 32-bit mode is still 8"). -- Eduardo