On 1999-Nov-09 05:01:43 +1100, Luoqi Chen wrote:
>> + "=D" (addr), "=c" (count) :
>> + "r" (bsh + offset), "0" (addr), "1" (count) :
>> + "%eax", "memory");
>You may use "+D" and "+c" for the in-out operands,
> "+D" (addr), "+c" (count) :
> "r" (bsh + offset) :
>
Just as a word of caution: "+" isn't supported prior to gcc 2.8.x,
so you can't use it for code that might be MFC to 3.x. And just to
make it more of a pain, I've found code similar to the original
patch also fails on gcc 2.7 when the operands are volatile :-(.
Peter
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message