From owner-freebsd-alpha@FreeBSD.ORG Thu Aug 7 19:05:56 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9786637B401; Thu, 7 Aug 2003 19:05:56 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8D0943FDD; Thu, 7 Aug 2003 19:05:55 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h7825suN016152; Thu, 7 Aug 2003 22:05:54 -0400 (EDT) Date: Thu, 7 Aug 2003 22:05:54 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: "David O'Brien" In-Reply-To: <20030808015321.GB44639@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Portante, Peter" cc: alpha@freebsd.org Subject: Re: Atomic swap X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 02:05:56 -0000 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