From owner-freebsd-hackers Thu Sep 3 13:50:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18063 for freebsd-hackers-outgoing; Thu, 3 Sep 1998 13:50:05 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17970 for ; Thu, 3 Sep 1998 13:49:54 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with ESMTP id VAA09579; Thu, 3 Sep 1998 21:48:14 +0100 (BST) Date: Thu, 3 Sep 1998 21:48:14 +0100 (BST) From: Doug Rabson To: Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= cc: Rodrigo Ormonde , hackers@FreeBSD.ORG Subject: Re: Assembler with FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 3 Sep 1998, Dag-Erling Coidan [iso-8859-1] Smørgrav wrote: > Rodrigo Ormonde writes: > > I have to write a few high speed routines in assembler to run on a > > FreeBSD box. I used to program in assembler to DOS, so I think I have the > > necessary knowledge to do it on FreeBSD. > > Why do you want to do that? FreeBSD isn't DOS. Your assembler routine > is unlikely to be significantly faster than the corresponding C code > compiled with 'gcc -O3'. I don't see gcc -O3 producing hand pipelined MMX 3D renderers anytime soon. Assembler has its niche and it will never disappear. The niche might get smaller but it will still be there. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message