[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH 3/3 v2] XSAVE/XRSTOR: enable guest AVX



The AVX feature bit is compatible between Intel and AMD. AMD has another 
XSAVE/XRSTOR related feature (light-weight profiling) to be added in Xen. We 
are going to provide patches when they are ready.

-Wei
-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Li, Xin
Sent: Wednesday, September 01, 2010 9:23 AM
To: Konrad Rzeszutek Wilk; Han, Weidong
Cc: Xen-devel; Keir Fraser; Jan Beulich
Subject: RE: [Xen-devel] [PATCH 3/3 v2] XSAVE/XRSTOR: enable guest AVX

> On Tue, Aug 31, 2010 at 10:52:38PM +0800, Han, Weidong wrote:
> > This patch enables Intel(R) Advanced Vector Extension (AVX) for guest.
> 
> I thought that this would also work on the AMD Bulldozer's CPUs? Or is the
> Intel AVX incompatible with AMD AVX?

The code just checks if a feature is available thru CPUID before using, no 
matter it's Intel CPU or AMD.

There are 2 approaches to provide a new feature, use a compatible way the other 
side is using thus reuse the code/binary, or a complete new way.  There are 
many examples you can find in Linux/Xen code.

AMD people can comment if they will implement the AVX like feature.  If yes, if 
it's in a software compatible way or totally new.

Thanks!
-Xin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.