From owner-freebsd-alpha@FreeBSD.ORG Fri Sep 2 19:41:30 2005 Return-Path: X-Original-To: alpha@freebsd.org 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 D139D16A41F; Fri, 2 Sep 2005 19:41:30 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FCDE43D46; Fri, 2 Sep 2005 19:41:30 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Fri, 02 Sep 2005 15:56:52 -0400 From: John Baldwin To: current@freebsd.org Date: Fri, 2 Sep 2005 15:42:20 -0400 User-Agent: KMail/1.8 References: <200509021532.54579.jhb@FreeBSD.org> In-Reply-To: <200509021532.54579.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509021542.22227.jhb@FreeBSD.org> Cc: powerpc@freebsd.org, alpha@freebsd.org Subject: Re: [PATCH] Cleanup asm constraints in atomic operations X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 19:41:31 -0000 On Friday 02 September 2005 03:32 pm, John Baldwin wrote: > alc@ brought to my attention a while back that while gcc allows one to use > the '+' constraint modifier to collapse identical input and output operands > that are in registers, it is only allowed for registers and not for memory > operands. The patch below removes uses of the '+' modifier in conjunction > with memory operands in the atomic operations for alpha, amd64, i386, and > powerpc. Please test and let me know if there are any regressions. *sigh* http://www.FreeBSD.org/~jhb/patches/atomic.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org