WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] x86-32: use __builtin_{memcpy,memset}

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] x86-32: use __builtin_{memcpy,memset}
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Tue, 11 May 2010 13:33:04 +0100
Cc: Charles Arnold <CARNOLD@xxxxxxxxxx>
Delivery-date: Tue, 11 May 2010 05:33:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C80F0671.13EE6%keir.fraser@xxxxxxxxxxxxx>
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: <C80EF281.13E9E%keir.fraser@xxxxxxxxxxxxx> <C80F0671.13EE6%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 11.05.10 14:04 >>>
>What about this alternative version which distinguishes between GCC 4.3+
>(which should auto-inline quite sensibly) and earlier versions (which need
>help via macro mapping explicitly to __builtin_*)?

I don't think this will do what we expect in the presence of -fno-builtin
(see also my other response).

Jan


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

<Prev in Thread] Current Thread [Next in Thread>