|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
RE: [Xen-devel] [PATCH 3/3 v2] XSAVE/XRSTOR: enable guest AVX
 
| 
To:  | 
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, "Han, Weidong"	<weidong.han@xxxxxxxxx> | 
 
| 
Subject:  | 
RE: [Xen-devel] [PATCH 3/3 v2] XSAVE/XRSTOR: enable guest AVX | 
 
| 
From:  | 
"Li, Xin" <xin.li@xxxxxxxxx> | 
 
| 
Date:  | 
Wed, 1 Sep 2010 22:22:43 +0800 | 
 
| 
Accept-language:  | 
zh-CN, en-US | 
 
| 
Acceptlanguage:  | 
zh-CN, en-US | 
 
| 
Cc:  | 
Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>,	Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx> | 
 
| 
Delivery-date:  | 
Wed, 01 Sep 2010 07:23:30 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<20100901140029.GA27663@xxxxxxxxxxxx> | 
 
| 
List-help:  | 
<mailto:xen-devel-request@lists.xensource.com?subject=help> | 
 
| 
List-id:  | 
Xen developer discussion <xen-devel.lists.xensource.com> | 
 
| 
List-post:  | 
<mailto:xen-devel@lists.xensource.com> | 
 
| 
List-subscribe:  | 
<http://lists.xensource.com/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> | 
 
| 
List-unsubscribe:  | 
<http://lists.xensource.com/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> | 
 
| 
References:  | 
<1A42CE6F5F474C41B63392A5F80372B22A712305@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>	<20100901140029.GA27663@xxxxxxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
| 
Thread-index:  | 
ActJ3lQKR34dVG2CTKa9ORGPWXDg5gAAHLEw | 
 
| 
Thread-topic:  | 
[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
 
 |   
 
 | 
    | 
  
  
    |   | 
    |