Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site megad.UUCP Path: utzoo!linus!philabs!sbcs!megad!seth From: seth@megad.UUCP (Seth H Zirin) Newsgroups: net.arch,net.lang.c,net.micro,net.micro.pc,net.micro.68k Subject: Re: Need 286 "C" benchmark Message-ID: <155@megad.UUCP> Date: Wed, 29-May-85 11:54:46 EDT Article-I.D.: megad.155 Posted: Wed May 29 11:54:46 1985 Date-Received: Sat, 1-Jun-85 11:24:15 EDT References: <426@oakhill.UUCP> <8745@microsoft.UUCP> <583@intelca.UUCP> <433@oakhill.UUCP> Organization: The Bohemian Pleasure Dome Lines: 23 Xref: linus net.arch:1099 net.lang.c:4812 net.micro:9328 net.micro.pc:3803 net.micro.68k:783 davet@oakhill.UUCP writes: > Ok I will. Here's another dinky benchmark which I just compiled and ran on > my Macintosh. Lets hear some 286 times for it (and no excuses please.) > > int a[50000]; > > main() > { > int i; > for (i=0; i<50000; i++) a[i+1] = a[i]; > } This program exceeds the bounds of the array a when doing the final assignment a[50000] = a[49999]; The upper bound on the loop should be 49999. This aside, LONG LIVE MOTOROLA!!!!! Maybe one day an 80[infinity]86 will beat a 68000 and then intel can start catching up to the 68020. :-) -- ------------------------------------------------------------------------------- Name: Seth H Zirin UUCP: {decvax, ihnp4}!philabs!sbcs!megad!seth Keeper of the News for megad