From owner-freebsd-hackers Sat Dec 23 21:41:05 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA00625 for hackers-outgoing; Sat, 23 Dec 1995 21:41:05 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA00613 Sat, 23 Dec 1995 21:41:03 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id VAA01534; Sat, 23 Dec 1995 21:41:01 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.7.3/8.6.5) with SMTP id VAA00518; Sat, 23 Dec 1995 21:41:04 -0800 (PST) Message-Id: <199512240541.VAA00518@corbin.Root.COM> To: "Jonathan M. Bresler" cc: Torbjorn Granlund , michael butler , freebsd-hackers@freebsd.org Subject: Re: Pentium bcopy 486DX-66 results In-reply-to: Your message of "Sat, 23 Dec 95 23:43:35 EST." From: David Greenman Reply-To: davidg@Root.COM Date: Sat, 23 Dec 1995 21:40:58 -0800 Sender: owner-hackers@freebsd.org Precedence: bulk >On Sun, 24 Dec 1995, Torbjorn Granlund wrote: >> >> I don't have any 486 systems, so I cannot tell for sure. Here is a simple >> test program that you can use for timing tests: > > here are results using 2.1.0-RELEASE, a 486dx-66 with an asus sp3g >motherboard and write-back cache discipline. > >Aspen:[45] ./a.out >copy 8259 >memcpy 8582 > > the results vary with the number of times in succession that i >run the program ;) > > Once Twice Thrice 4th 5th 6th 7th >copy 8259 6730 6709 6708 6706 6736 6695 >memcpy 8582 7363 7605 7491 6667 6863 7819 > > i had to change the comment sytle on several lines to satisfy gas >"GNU assembler version 1.92.3, FreeBSD $Revision: 1.4 $" You should have just used cc to assemble it - name the file copy.S and then use: cc -c copy.S cc -o copytest copytest.c copy.o This will run it through cpp. ...thanks for the results. -DG