LinuxPPC & gcc optimizer flags

Franz Sirl Franz.Sirl at munich.netsurf.de
Thu Jul 1 19:59:51 EST 1999


At 11:14 01.07.99 , Albrecht Dreß wrote:
>Hi all,
>
>         there was recently some discussion about the usage of different 
> gcc optimizer
>flags with LinuxPPC.  I ran the HINT benchmark on may PowerBook G3/300, 192 MB
>Ram, LinuxPPC Release 5 with all combinations of the -O[0123] and
>-mcpu={|603|604|750} flags.  Plots of the results are attached as ps files.
>Interestingly, the best results are achieved with "-O2 -mcpu=603" or "-O3
>-mcpu=603" and NOT with -mcpu=750....

Which compiler did you use? Up to egcs-1.1.2, -mcpu=750 is a no-op :-). Did 
you also try different mixings of -march= and -mtune=?

If you are on R5, I can provide you gcc-2.95pre RPM's which support -mcpu=750.

Franz.


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list