Date: Thu, 7 Aug 2003 22:05:54 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: "David O'Brien" <obrien@freebsd.org> Cc: alpha@freebsd.org Subject: Re: Atomic swap Message-ID: <Pine.GSO.4.10.10308072201250.15156-100000@pcnet5.pcnet.com> In-Reply-To: <20030808015321.GB44639@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Aug 2003, David O'Brien wrote: > On Thu, Aug 07, 2003 at 01:44:18PM -0400, Daniel Eischen wrote: > > "beq %1, 2f\n\t" /* if the store failed, spin */ > > It is worth explaining why this is "beq" since it wasn't obvious to all > readers. :-) Well, when you catch up on you're reading, you'll see the forward branch is no longer there. But FYI, it was supposedly there because it was thought that Alpha's always predicted a backwards branch, so the common case of the store succeeding wasn't optimized. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10308072201250.15156-100000>