|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] x86: usercopy assembly constraints
 
On 14/11/07 07:37, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
>> What's the bug? Does some gcc allocate the 4th output parameter into one of
>> the other used registers (cx,si,di) if we don't use '=&'?
> 
> No, the effect is an 'impossible constraint' error, so there's not much reason
> to be afraid I think. But as said, the constraint was wrong.
I thought '&' was an extra constraint, so I'm surprised it could fix an
'impossible constraint' problem. But anyway, yes, the code is saner and more
consistent with your patch.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |