*BSD News Article 11202


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1384 ; Tue, 23 Feb 93 14:38:43 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!psgrain!ee.und.ac.za!ford.ee.up.ac.za!hippo!kudu!g89r4222
From: g89r4222@kudu.ru.ac.za (Geoff Rehmet)
Newsgroups: comp.unix.bsd
Subject: Re: [386BSD patch] inline byte-swapping
Message-ID: <g89r4222.729758403@kudu>
Date: 15 Feb 93 06:40:03 GMT
Article-I.D.: kudu.g89r4222.729758403
References: <1lmk3hINNbvc@life.ai.mit.edu>
Sender: news@hippo.ru.ac.za (Usenet News Admin)
Organization: Rhodes University, Grahamstown, South Africa
Lines: 18

In <1lmk3hINNbvc@life.ai.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:


>Here is a patch to inline the byte-swapping macros on the 386.
>__byte_swap_long() can be made faster on the 486.

INHO this is all very nice, and all very well, but 386bsd was
supposed to be for 386's & upwards - things like this are
starting to kill portability - unless you can tell at compile
time what CPU you have.  How much efficiency will this really
gain you (how about having a look at Amdahl's law).

Geoff.
--
==========================g89r4222@alpha.ru.ac.za============================
 Geoff Rehmet, Comp Sci Dept,    |#define DISCLAIMER These are my ramblings \
 Rhodes University, Grahamstown, |                   not the Univerisity's 
 RSA,