From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199801111235.NAA23488@xyllomer.uni-paderborn.de> Date: Sun, 11 Jan 1998 13:35:34 +0100 (MET) From: Quezcal Subject: ecgs - gcc performace on libdes I was installing libdes 4.01 today and performed some tests with egs-1.0.1 and gcc 2.7.2.3 I am running a pc164LX w 533 Mhz. des_opts performed the tests. The best results where with gcc 2.7.2.3 not with egcs. I have done some tests on a self-written raytracer using stl before where egcs outperformed gcc by about 70%. Seems without c++ gcc is still faster. short: gcc : 16 r1 p 989672.54 100.0% egcs: 16 r1 i 730601.36 100.0% Both where with DES_LONG set to unsigned int. On an intel P90 egcs performs significantly better: egcs: 16 r1 p 149597.78 100.0% gcc: 16 r2 i 62478.07 100.0% I would have expected there would be an advantage for egcs on Alphas, any idea why it seems to be slower here? Olaf egcs -O3 -fomit-frame-pointer -funroll-loops options des ecb/s 16 r1 i 730601.36 100.0% 16 r1 p 684792.50 93.7% 16 c i 681389.95 93.3% 16 c p 663798.73 90.9% 4 r1 i 654606.38 89.6% 16 r2 i 651864.90 89.2% 4 r1 p 646251.23 88.5% 4 c i 641926.79 87.9% 16 r2 p 639067.19 87.5% 4 r2 p 619424.31 84.8% 4 c p 619269.00 84.8% 4 r2 i 617852.02 84.6% -DDES_UNROLL -DDES_RISC1 gcc -O3 -fomit-frame-pointer -funroll-loops options des ecb/s 16 r1 p 989672.54 100.0% 16 r1 i 952995.93 96.3% 16 c p 931046.81 94.1% 4 r1 p 918332.00 92.8% 4 r2 p 911451.29 92.1% 16 r2 p 903829.12 91.3% 16 c i 902735.15 91.2% 4 c p 896681.43 90.6% 4 r1 i 868342.30 87.7% 4 r2 i 852081.94 86.1% 16 r2 i 849904.18 85.9% 4 c i 838059.20 84.7% -DDES_UNROLL -DDES_RISC1 -DDES_PTR for comparison: p90 RH 4.2 egcs -DELF -O3 -fomit-frame-pointer with x86 des asm loop and DES_LONG as unsigned long: 16 r1 p 149597.78 100.0% 16 r2 p 141930.71 94.9% 16 c i 130053.37 86.9% 16 c p 128224.78 85.7% 4 c i 117786.56 78.7% 4 r2 p 109400.33 73.1% 16 r2 i 108178.20 72.3% 16 r1 i 107526.98 71.9% 4 r1 i 104264.81 69.7% 4 r2 i 98082.42 65.6% 4 r1 p 97812.04 65.4% 4 c p 94937.50 63.5% -DDES_UNROLL -DDES_RISC1 -DDES_PTR gcc with same options: options des ecb/s 16 r2 i 62478.07 100.0% 16 r1 i 62180.33 99.5% 16 c i 58235.23 93.2% 4 r1 i 51503.00 82.4% 4 r2 i 47971.74 76.8% 4 c p 47147.98 75.5% 4 c i 46974.36 75.2% 16 c p 40200.98 64.3% 4 r1 p 37247.66 59.6% 4 r2 p 36390.70 58.2% 16 r1 p 35036.07 56.1% 16 r2 p 31707.23 50.7% -DDES_UNROLL -DDES_RISC2 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com