From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,1177a02b35e507b5 X-Google-Attributes: gid111c93,public From: conrad@hive.me.gu.edu.au (Conrad Sanderson) Subject: Re: gcc/egcs C optimization Date: 1998/11/02 Message-ID: #1/1 X-Deja-AN: 407458052 References: Organization: Griffith University, Brisbane, Australia Newsgroups: comp.os.linux.alpha Berk Sensoy wrote: > Does anyone have any suggestions as to what would be the best >compiler options to optimize (make the fastest at run-time) my code on an >Alpha/Linux machine? I have a >code that solves a biharmonic PDE by calling a Fortran subroutine. Our >group just acquired an Alpha/Linux and we are trying to figure out how >best to opimize its various capabilities vis-a-vis an Intel machine. -O3 -funroll-all-loops -fexpensive-optimizations (may need to add -mieee depending on how the code is written) Getting a decent math library will make the most difference: http://people.frankfurt.netsurf.de/Joachim.Wesner/ Note that with the current state of free compilers on Alpha, you will probably end up getting better performance on a Intel P2/450. -- Conrad Sanderson - Microelectronic Signal Processing Laboratory Griffith University, Queensland, Australia http://spl.me.gu.edu.au [ under construction ]