From owner-freebsd-hackers Thu Mar 23 00:30:13 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA04233 for hackers-outgoing; Thu, 23 Mar 1995 00:30:13 -0800 Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA04227 for ; Thu, 23 Mar 1995 00:30:09 -0800 Received: from gilberto.physik.rwth-aachen.de by campino.informatik.rwth-aachen.de (4.1/campino-6) id AA19101; Thu, 23 Mar 95 09:29:51 +0100 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id JAA14369; Thu, 23 Mar 1995 09:35:46 +0100 Message-Id: <199503230835.JAA14369@gilberto.physik.rwth-aachen.de> Subject: Re: fast string inline routines (asm) To: joerg_wunsch@uriah.heep.sax.de Date: Thu, 23 Mar 1995 09:35:45 +0100 (MET) Cc: freebsd-hackers@freefall.cdrom.com (user alias) In-Reply-To: <199503230815.JAA17664@uriah.heep.sax.de> from "J Wunsch" at Mar 23, 95 09:15:13 am From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1383 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > As Christoph P. Kukulies wrote: > > > > In the djgpp list a discussion came up recently about inlining (asm) > > fast memcpy/memmove/strcpy and such stuff and someone pointed out that > > Linux had these - I cite from Mat Hostetter: > > Do you mean those? They are not inlined, but regular lib functions. > > Can you compare them against the Linux versions? Sorry, I don't have a Linux system in reach (for the moment, though I have two CDs lying here but Linux installation is a horror to me :-) The mainline of that discussion was asm inlining and I assume that the functions in question are defines as inline asm code in the header file (string.h). > > j@uriah 250% ls /usr/src/lib/libc/i386/string/ > /usr/src/lib/libc/i386/string: > CVS/ bzero.S memcmp.S strcat.S strlen.S > Makefile.inc ffs.S memmove.S strchr.S strncmp.S > bcmp.S index.S memset.S strcmp.S strrchr.S > bcopy.S memchr.S rindex.S strcpy.S swab.S > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ > Never trust an operating system you don't have sources for. ;-) > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de FreeBSD blues 2.1.0-Development FreeBSD 2.1.0-Development #0: Wed Mar 22 04:54:59 1995 root@blues:/usr/src/sys/compile/BLUESGUS i386