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

[Xen-devel] RE: [patch] pae: tlbflush linear page table updates

To: <ak@xxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] RE: [patch] pae: tlbflush linear page table updates
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Fri, 12 Aug 2005 17:37:42 +0800
Cc: Gerd Knorr <kraxel@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Aug 2005 09:36:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWfHyIeaiLVSEbtSqum0ASZ52vrLQAADnkg
Thread-topic: [patch] pae: tlbflush linear page table updates
>-----Original Message-----
>From: ak@xxxxxxx [mailto:ak@xxxxxxx]
>Sent: Friday, August 12, 2005 5:21 PM
>Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> writes:
>>
>> The compiler will never alias inputs. In this case it is forced to
>> alias the output constraint with input retval, and so the output
>> cannot alias with any other input (which would be an error).
>
>Actually it will sometimes. That is what the "early clobber" (&)
>prevents. Perhaps it should be used here.
>
>-Andi

"early clobber" is good to prevent output alias as input, if that output
may be clobbered before input is used. However there seems no point to
simply alias among inputs. Or else, the only way I can see is that
compiler insert some extra lines in the middle of inline asm... Any
benefit for this likelihood?

Thanks,
Kevin

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

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