Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 1999 07:23:15 +1100
From:      Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
To:        Luoqi Chen <luoqi@watermarkgroup.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: show stopper for Gcc 2.95.2 conversion
Message-ID:  <99Nov9.071729est.40325@border.alcanet.com.au>
In-Reply-To: <199911081801.NAA29633@lor.watermarkgroup.com>
References:  <199911081801.NAA29633@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Nov9.071729est.40325>