|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH 3/3 v2] XSAVE/XRSTOR: enable guest AVX
To: |
"Li, Xin" <xin.li@xxxxxxxxx>, 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: |
"Huang2, Wei" <Wei.Huang2@xxxxxxx> |
Date: |
Wed, 1 Sep 2010 11:27:29 -0500 |
Accept-language: |
en-US |
Acceptlanguage: |
en-US |
Cc: |
Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx> |
Delivery-date: |
Wed, 01 Sep 2010 09:29:41 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<FC2FB65B4D919844ADE4BE3C2BB739AD2C787A9F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
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> <FC2FB65B4D919844ADE4BE3C2BB739AD2C787A9F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
ActJ3lQKR34dVG2CTKa9ORGPWXDg5gAAHLEwAASLf9A= |
Thread-topic: |
[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
|
|
|
|
|