From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ce240fca9243e949 X-Google-Attributes: gidfee84,public X-Google-Thread: f57db,ce240fca9243e949 X-Google-Attributes: gidf57db,public From: Joe Mario Subject: Re: compiler settings for alpha 21164 Date: 1997/04/28 Message-ID: <33652E06.41C6@zk3.dec.com>#1/1 X-Deja-AN: 238119623 References: <5jrk83$nt4$1@fddinewz.oit.unc.edu> To: Eric Frey Organization: WHATX Newsgroups: comp.benchmarks,comp.unix.osf.osf1 Eric Frey wrote: > > Our local DEC rep just let us have a AS500/500 for two weeks and I am trying > to run lots of benchmarks on it. I was wondering which compiler options > I should try out. I have used combinations of -O5, -fast, -tune ev5. So > for C I have been using -newc. ... > Any pointers to different options would be greatly appreciated. As of Digital UNIX V4.0, -newc switch is the default so there is no need to set that. Also as of V4.0 with the default cc, there is no difference between -O4 and -O5. As described in the cc(1) manpage, the -O4 level contains optimizations that may or may not help your program. To determine whether using -O4 benefits your program, you should compare program execution times for the same program compiled at levels -O3 and -O4. Joe Mario