Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 1999 22:21:50 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        Dag-Erling Smorgrav <des@flood.ping.uio.no>, hackers@FreeBSD.ORG
Subject:   Re: [Alfred Perlstein <bright@cygnus.rush.net>] Re: vm_page_zero_fill
Message-ID:  <36CE466E.E29A845A@softweyr.com>
References:  <199902200050.RAA15634@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> 
> I think that we would do well to provide C code, wherever possible,
> for all assmebly language code, no matter how suboptimal this ends
> up being.
> 
> The reason for this is portability to new platforms becomes more
> immediate, though less optimal.  The assembly code can later be
> "back filled", as necessary, as an optimization.
> 
> The ugliest place for this type of thinking is locore.s and the bios
> crap, but it would speed inclusion of new platforms, and is probably
> worth the effort.

Depending on the architecture in question, this might not even be
that much of a loss.  Architectures that have ONLY memory-mapped
I/O, for instance, suffer less from low-level C code.

-- 
       "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                 Softweyr LLC
http://www.softweyr.com/~softweyr                      wes@softweyr.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36CE466E.E29A845A>