From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199705200201.VAA20007@porky.tamu.edu> Date: 20 May 1997 09:26:20 +0200 From: Martin Ostermann Subject: Re: 500 MHz 21164 vs P166 ?! Ciro Cattuto writes: > I ran some numerical code on a 500 MHz 21164 Alpha system (Microway Screamer, > 2 MB cache) and on a P166. Both systems are running Linux and the code > was compiled using GCC. Most surprisingly, the P166 seems to be twice > as fast than the Alpha workstation!! How can this possibly happen? > Should I use some special optimizazion when compiling Alpha code > with GCC? What else should I check? Try '-funroll-loops'. This often helps, and it isn't turned on by any -O level. Also avoid unnecessary float/integer conversions. Martin -- Martin Ostermann | mailto:ost@comnets.rwth-aachen.de Communication Networks | http://www.comnets.rwth-aachen.de/~ost Aachen University of Technology | phoneto:++49/241/807917 Germany | faxto:++49/241/8888242 -- 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