This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0-pre vs 3.0 on Haney speed
- To: Paolo Carlini <pcarlini at unitus dot it>
- Subject: Re: 3.0-pre vs 3.0 on Haney speed
- From: Andi Kleen <ak at suse dot de>
- Date: 24 Jun 2001 15:52:36 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <200106232232.PAA29219@racerx.synopsys.com.suse.lists.egcs> <3B352498.50616F37@unitus.it.suse.lists.egcs>
Paolo Carlini <pcarlini@unitus.it> writes:
> Hi,
>
> Joe Buck wrote:
>
> > To make progress, it would help to see the assembly language for a
> > representative inner loop to see what's going wrong.
>
> I agree with you. I will try in the next days.
> Do you have any tip which may help me in this task? I'm afraid it will take
> me some time to distillate the relevant loop... the source code is gory
> C++...
Assuming you're using GNU binutils.
gcc -g -Wa,-a=listing ...
will give you a listing with mixed source/assembly in "listing"
Another way is to run objdump -S on the object file or resulting
executable. Also requires -g.
-Andi