Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA1373 ; Tue, 23 Feb 93 14:37:25 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!wupost!gumby!yale!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.unix.bsd Subject: Re: [386BSD patch] inline byte-swapping Date: 15 Feb 1993 13:48:48 GMT Organization: /etc/organization Lines: 24 Message-ID: <1lo700INNlnl@life.ai.mit.edu> References: <1lmk3hINNbvc@life.ai.mit.edu> <g89r4222.729758403@kudu> NNTP-Posting-Host: hal.ai.mit.edu In article <g89r4222.729758403@kudu> g89r4222@kudu.ru.ac.za (Geoff Rehmet) writes: > > 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 - The macros should work on any 386 or above, certainly, so the concern you must be addressing is the possible addition of 486-specific code. There is already a patch to not compile the math emulation code if you define `i387' or `i486'; I see no reason I can't do likewise. -- \ / Charles Hannum, mycroft@ai.mit.edu /\ \ PGP public key available on request. MIME, AMS, NextMail accepted. Scheme White heterosexual atheist male (WHAM) pride!