From owner-freebsd-alpha Tue Feb 11 15:24:42 2003 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 1FC8837B401 for ; Tue, 11 Feb 2003 15:24:41 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 132CD43F3F for ; Tue, 11 Feb 2003 15:24:40 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (localhost [127.0.0.1]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1BNOd1o018397 for ; Tue, 11 Feb 2003 15:24:39 -0800 (PST) (envelope-from marcel@ns1.xcllnt.net) Received: (from marcel@localhost) by ns1.xcllnt.net (8.12.6/8.12.6/Submit) id h1BNOdPq018396 for alpha@FreeBSD.ORG; Tue, 11 Feb 2003 15:24:39 -0800 (PST) (envelope-from marcel) Date: Tue, 11 Feb 2003 15:24:39 -0800 From: Marcel Moolenaar To: alpha@FreeBSD.ORG Subject: Re: Open Watcom compiler Message-ID: <20030211232439.GC18238@ns1.xcllnt.net> References: <20030211003353.GA12187@athlon.pn.xcllnt.net> <15945.1278.292937.743702@grasshopper.cs.duke.edu> <20030211192217.GD2881@dhcp01.pn.xcllnt.net> <20030211214435.GI1877@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030211214435.GI1877@gsmx07.alcatel.com.au> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 12, 2003 at 08:44:35AM +1100, Peter Jeremy wrote: > > Note that Andrew said "convert" not "replace and avoid". I know. I'd like us to stop using inline assembly gratuitously. On the ia64 platform we have C functions of which the body is 99% assembly. This doesn't make sense really and tends to be less optimal (and less readable) than pure assembly. Another reason is that optimizers generally pessimize when inline assembly is present. On ia64 this is especially true due to the dependency constraints. There's no compiler (AFAICT) that truely knows about all the dependencies. Ok, sometimes inline assembly is the only good solution. In that case it's acceptable to pay for the burden of having multiple implementations and/or other complexities. But I don't think that a 1:1 conversion is beneficial. > I don't know what the OW support for inline assember is. I think it's mostly incompatible. I haven't used it much, because I tend to create an assembly file, but it's definitely something I'll dig into. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message