Re: GCC optimization report

2012-07-18 Thread Sharad Singhai
Yes, in addition to what Richard said, I am working on a patch to add -fopt-report option to gcc. The first users of this optimization report are the vectorizer passes. The hope is that other passes would add important optimization info to -fopt-report later. Of course, there are various dump

Re: GCC optimization report

2012-07-17 Thread Tim Prince
On 7/17/2012 7:23 AM, Richard Guenther wrote: On Tue, Jul 17, 2012 at 12:43 PM, wrote: Hi all, I would like to know if GCC provides an option to get a detailed report on the optimization actually performed by the compiler. For example with the Intel C compiler it is possible using the -opt-re

Re: GCC optimization report

2012-07-17 Thread Richard Guenther
On Tue, Jul 17, 2012 at 12:43 PM, wrote: > Hi all, > I would like to know if GCC provides an option to get a detailed report on > the optimization actually performed by the compiler. For example with the > Intel C compiler it is possible using the -opt-report. I don't want to look > at the ass

GCC optimization report

2012-07-17 Thread Erotavlas_turbo
Hi all, I would like to know if GCC provides an option to get a detailed report on the optimization actually performed by the compiler. For example with the Intel C compiler it is possible using the -opt-report. I don't want to look at the assembly file and figure out the optimization. Thank yo

Re: optimization report

2012-02-25 Thread Jonathan Wakely
On 25 February 2012 19:06, Mahmood Naderan wrote: > > Does GCC report on optimizations? I mean, using -O3, it is good to see which > part of code was the hardest part in optimization process. Or a report that > shows which part of code used largest memory. Have you looked at -fmem-report and -ft

optimization report

2012-02-25 Thread Mahmood Naderan
Hi Does GCC report on optimizations? I mean, using -O3, it is good to see which part of code was the hardest part in optimization process. Or a report that shows which part of code used largest memory.   // Naderan *Mahmood;