Need 286 "C" benchmark

Seth H Zirin seth at megad.UUCP
Thu May 30 01:54:46 AEST 1985


davet at 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



More information about the Comp.lang.c mailing list