Skip site navigation (1)Skip section navigation (2)
Date:      03 Apr 98 08:21:25 +0330
From:      "Muthu" <MOLAGAPP.IN.oracle.com.ofcmail@in.oracle.com>
To:        hackers@FreeBSD.ORG
Cc:        GLAKSHMI.IN.oracle.com.ofcmail@in.oracle.com, JTHERRAT.IN.oracle.com.ofcmail@in.oracle.com
Subject:   bcopy implementation
Message-ID:  <199804030436.XAA04721@dwarpal.in.oracle.com>

next in thread | raw e-mail | index | archive | help
Hi, 
 
   I took a look at bcopy implementation inside the kernel(FreeBSD 2.2.5). If 
the number of bytes to copy is greater than 1024, it uses the floating point 
unit implementation else generic bcopy.  
 
   This kind of implementation is not used in libc. Only generic bcopy is used 
in all cases. On the assumption, that the system has pentium processor, the 
bcopy implementation of libc can be changed to floating point implementation 
as in kernel.  
 
   One reason of not changing implementation of bcopy in libc may be that 
applications will run at different speed on different processor. On pentium it 
will run faster and on 80386 it will run slow. Is there any other valid reason 
of not implementing this method in libc? 
 
 
 
Regards, 
 
Muthu. O.L. 
 

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?199804030436.XAA04721>