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

RE: [Xen-ia64-devel] PATCH: rewrite vcpu_get_psr


  • To: "Tristan Gingold" <tgingold@xxxxxxx>, "Alex Williamson" <alex.williamson@xxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Fri, 11 May 2007 13:54:28 +0800
  • Cc: Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 10 May 2007 22:52:45 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AceTi7xeNO6x27zBRoaXutGtATscLAABJHfw
  • Thread-topic: [Xen-ia64-devel] PATCH: rewrite vcpu_get_psr

>Tristan Gingold
>Sent: 2007年5月11日 13:23
>To: Alex Williamson
>Cc: Xen-ia64-devel
>Subject: Re: [Xen-ia64-devel] PATCH: rewrite vcpu_get_psr
>
>> Unfortunately...
>It's a little bit puzzling.  I didn't think the performace of mov =psr.l was
>to important!



+
+       if (!PSCB(vcpu, metaphysical_mode))
+               newpsr.i64 |= IA64_PSR_DT | IA64_PSR_RT | IA64_PSR_IT;

-       if (PSCB(vcpu, metaphysical_mode))
-               newpsr.dt = 0;

Above old code would be translated to
        if (PSCB(vcpu, metaphysical_mode))
                newpsr.i64 &= ~IA64_PSR_DT;

Thanks,
Anthony

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


 


Rackspace

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