From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 12 Jun 1996 21:45:55 +0200 (MDT) From: Wim van Dorst Subject: Re: compile bug in gcc ? - was performance ... In-Reply-To: Hello *, Richard Henderson wrote: } That said, here are the numbers for my eb164/300 with gcc -O2: } test1: } 1000 10 0.49 163.84 } test2: } Transf Benchmark: loop length : 10 * 10^3 } Transf Benchmark: Time/MegaFlops: 1.43 126.25 } test3: } Size Loops Time MFlops } 500 40000 2.50 80.00 } 1000 20000 2.49 80.31 } 5000 4000 2.61 76.70 } 10000 2000 4.36 45.92 } 50000 400 2.88 69.42 } 100000 200 4.79 41.71 } 500000 40 3.35 59.71 I am always keen to see how my PC, a 21066A/233 NoName, performs in comparison with others. I took the programs as posted by Arno Paehler, and compiled them with 'gcc -O3' All three compiled problemless (warnings in test3, though), and all three ran ok: Test1: 1000 1 0.13 61.54 Test2: Transf Benchmark: loop length : 10 * 10^3 Transf Benchmark: Time/MegaFlops: 2.85 63.16 Test3 1 25: Size Loops Time MFlops 500 4000 0.54 37.04 1000 2000 0.56 35.71 5000 400 2.80 7.14 10000 200 2.95 6.78 50000 40 3.17 6.31 100000 20 3.18 6.29 500000 4 3.26 6.13 I didn't exactly study on the precise meaning of these results, but do I gather that my machine is about half or one third of a 21164/300? Good :-). Met vriendelijke groeten, Wim van Dorst -------------------------------------------------------------------- Blue Baron = Wim van Dorst, Voice (+31) 33 4676365, (+31) 35 5242319 (-: baron@clifton.hobby.nl WvD@Chem.AkzoNobel.nl :-) --------------------------------------------------------------------