Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 1995 21:40:58 -0800
From:      David Greenman <davidg@Root.COM>
To:        "Jonathan M. Bresler" <jmb@freebsd.org>
Cc:        Torbjorn Granlund <tege@matematik.su.se>, michael butler <imb@scgt.oz.au>, freebsd-hackers@freebsd.org
Subject:   Re: Pentium bcopy 486DX-66 results 
Message-ID:  <199512240541.VAA00518@corbin.Root.COM>
In-Reply-To: Your message of "Sat, 23 Dec 95 23:43:35 EST." <Pine.BSF.3.91.951223233447.23830A-100000@Aspen.Woc.Atinc.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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



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