On Sun, Dec 09, 2001 at 03:23:28PM -0800, Peter Wemm wrote:
> Poul-Henning Kamp wrote:
> > 
> > There are many effects that could cause this, for instance if FreeBSD
> > manages to align things differently in relation to the CPU cache you
> > could get some very interesting waste of time that way.
> > 
> > Based on the data you show me, I can't really say that something is
> > wrong or right either way.
> 
> One thing that Linux does that we do not do is that they have different
> versions of libc compiled specifically for different cpu types, and at
> boot time set the correct paths.  eg:  /lib/i386/libc.so.6.whatever
> 
> This means that Linux's glibc is using an i686 optimized bzero(), but
> the FreeBSD one is using an i386 optimized bzero().

This could easily be hung off CPUTYPE like we do for the asm code in
OpenSSL, right?

Kris

Attachment: msg30091/pgp00000.pgp
Description: PGP signature

Reply via email to