Date: Tue, 20 Nov 2001 13:07:32 -0800 From: "David O'Brien" <obrien@FreeBSD.ORG> To: John Baldwin <jhb@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include atomic.h Message-ID: <20011120130732.A24794@dragon.nuxi.com> In-Reply-To: <20011121075927.A74178@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Wed, Nov 21, 2001 at 07:59:27AM %2B1100 References: <200111121657.fACGvYF20899@freefall.freebsd.org> <20011121075927.A74178@gsmx07.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 21, 2001 at 07:59:27AM +1100, Peter Jeremy wrote: > On Mon, Nov 12, 2001 at 08:57:33AM -0800, John Baldwin wrote: > >jhb 2001/11/12 08:57:33 PST > > > > Modified files: > > sys/i386/include atomic.h > > Log: > > Use newer constraints for inline assembly for an operand that is both an > > input and an output by using the '+' modifier rather than listing the > > operand in both the input and output sections. > > This change still leaves the non-memory operand's constraint as "ir" > in all cases - this isn't correct for the char or short cases. I have > some old patches to fix this. Please dig them up if you can. I really suspect some of the problems with 'gcc -O2' may be due to bad ASM constraints. > In any case, -stable also needs the change to use "+". yes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011120130732.A24794>