Re: forall and do loop



On Jul 27, 11:55 am, highegg <high...@xxxxxxxxx> wrote:
Commercial compilers (Intel, EkoPath) even offer the possibility to
use the profiling information for subsequent optimizations, which is
potentially very powerful approach.

GCC has the same - does this make GCC a commercial compiler? ;-)

GCC has the options: -fprofile-generate and -fprofile-use.

Depending on the program, performance might be gained or lost. For the
current gfortran 4.3 and the Polyhedron test suite, see
http://physik.fu-berlin.de/~tburnus/gcc-trunk/benchmark/#rt

As one test gets 24% slower, the few per cent gains for the other
tests average out (in the geometric mean).
(I filled a bugreport about it, #32913.)

Tobias

.



Relevant Pages

  • Re: forall and do loop
    ... use the profiling information for subsequent optimizations, ... GCC has the same - does this make GCC a commercial compiler? ... code for array expressions (I'm not sure if gfortran does this). ...
    (comp.lang.fortran)
  • Re: STM32 ARM toolset advice?
    ... I haven't seen a commercial compiler that ships the ... By "library" I mean not only the standard C libraries (printf ... implementation) in the bloat of files and directories GCC consists of. ...
    (comp.arch.embedded)
  • Re: Bye bye Keil 166 and 8051 (??)
    ... I used gcc and two different commercial ... interface bug in gcc. ... The other commercial compiler company never responded to the ...
    (comp.arch.embedded)
  • Re: Green Hills vs. Freescale CodeWarrior for ColdFire development
    ... Not bad apparently though code density and optimisation etc are another ... commercial compiler that only targets the Coldfire. ... The reason I mentioned it with respect to gcc. ... For the majority of code, on a v2 core, I would not believe any commercial compiler can repeatedly produce significantly smaller and faster code than gcc without being shown concrete examples. ...
    (comp.arch.embedded)
  • Re: partial/selective Macro expansion scpp
    ... reppisch wrote: ... Depending on your implementation (it's possible with GCC, ... but I feel confident advising you to STFW and RTFM; the chances of flex ...
    (comp.lang.c)