Re: Parallel execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I could not make these options work, they do not produce any output --neither to 
the stdout, nor to a file. I tried in different machines with different versions 
of gcc. Do you have any idea what the problem could be?
Thanks.


----- Original Message ----
From: Ian Lance Taylor <iant@xxxxxxxxxx>
To: Hasan MUTLU <bigpatboy@xxxxxxxxx>
Cc: gcc-help@xxxxxxxxxxx
Sent: Wed, April 13, 2011 10:08:57 PM
Subject: Re: Parallel execution

Hasan MUTLU <bigpatboy@xxxxxxxxx> writes:

> I have implemented a multiprocessor system and want to run a code on my system. 
>
> My idea is to have a compiler support that tells me which instructions could be 
>
> executed in parallel without any problems. In other words, I have a given code 

> that is written without considering any kind of parallelization (a standard C 
> code written for single processor) and I want my compiler to tell me which 
> instructions don't have any kind of dependencies, so could be run in parallel. 

> This might remind you VLIW, which deals more or less with the same problem. You 
>
> can ignore how my hardware deals with this information. My question is how 
>close 
>
> I can get to this information with gcc compiler. In other words, how can I 
> determine instruction dependencies, the instructions that could be run in 
> parallel? Any command line options (if there is) or a pointer in the source 
>code 
>
> of gcc would be helpful. 

gcc doesn't support this directly.  You can get the information by using
-fdump-rtl-sched2.  Also fiddle with -fsched-verbose=N.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux