> On Fri, 6 Feb 1998 tigran_aivazian@dsti.co.uk wrote:
>
> > I have run a very trivial program called loops.c:
> ...
> > while(i++ < MAXLOOPS) {
> > x = sin(x/(i+1));
> > }
> ...
>
> Trivial is the right word for it. On my system (Debian 1.3.1) gcc
> optimizes away the "x = sin(x/(i+1));" because x is never used.
> So this benchmark is utterly useless.
Maybe it shows that Linux has a better optimizing compiler than some
"supercomputers"? <big grin>
> "Nobody will ever need more than 640k RAM!" -- Bill Gates, 1981
> "Windows 95 needs at least 8 MB RAM." -- Bill Gates, 1996
> "Nobody will ever need Windows 95." -- logical conclusion
Nice sig :-)
-- John Goerzen | Developing for Debian GNU/Linux (www.debian.org) Custom Programming | Debian GNU/Linux is a free replacement for jgoerzen@complete.org | DOS/Windows -- check it out at www.debian.org. ----------------------+---------------------------------------------- Find out how to avoid all those pesky crashes, lockups, application errors, and slow applications at http://www.debian.org -- Debian can replace Windows 95 with a much more stable operating system. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu