From: "Jan Beulich" Subject: Re: [PATCH 2/2] x86emul: simplify asm() constraints Date: Wed, 11 Mar 2015 08:08:27 +0000 Message-ID: <5500060B0200007800068603@mail.emea.novell.com> References: <54FF2A50020000780006838B@mail.emea.novell.com> <54FF2B9402000078000683B8@mail.emea.novell.com> <54FF4A96.9030008@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YVbgt-0004qc-EZ for xen-devel@lists.xenproject.org; Wed, 11 Mar 2015 08:08:31 +0000 In-Reply-To: <54FF4A96.9030008@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 10.03.15 at 20:48, wrote: > Did you observe any code changes simply from changing = constraints to > +, or did we get very lucky in with the generated code? I think it's not really unexpected that there was no change, since the operands were all memory-only ones (and generally gcc avoids to address the same memory location in multiple different ways). > I think it might be a very wise idea to switch to using symbolic names. > This code is very complicated and has many ways to go subtly wrong. Let's save this for another day. Jan