This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Any SMS loop example?






"zhongknocken" <zhongknocken@tom.com> wrote on 29/03/2005 06:29:54:

> I've tried the dot-product loop and some other loops on Itanium machine.
The
> machine description of the target processor has DFA defined for it. The
> function "sms_schedule" is invoked, but no loop is SMS scheduled.

You can use the -dm falg to see dumps of sms; it can help figuring out
what SMS is doing and what makes it think that the loop should remain
unscheduled (in SMS).

>
> > This is highly dependent on the target processor for which you are
trying
> > to schedule the loops. For example, If the machine description of the
> > target processor doesn't have DFA defined for it SMS is not performed
at
> > all. One good example of a loop that would be scheduled in SMS (on a G5
> > machine for example) is the dot-product loop.
> >
> > gcc-owner@gcc.gnu.org wrote on 28/03/2005 15:37:08:
> >
> > > I want to get the compiling result of SMS(Swing Modulo Scheduling),
and
> > I've
> > > compiled many programs using  the flag "-O3 -fmodulo-sched", but no
loop
> > is
> > > SMS scheduled.
> > > I'm now using gcc 4.0.0 20041212.
> > > Can any one give me a program or a section of program which has loops
> > that can
> > > be SMS scheduled? Thanks.
> ===============================================
> 诺基亚铃声 http://sms.tom.com/index2.php?inc=3&type=24
> 摩托罗拉铃声 http://sms.tom.com/index2.php?inc=3&type=26
> 西门子铃声 http://sms.tom.com/index2.php?inc=3&type=25
>
> 诺基亚小图 http://sms.tom.com/index2.php?inc=2
> 诺基亚大图 http://sms.tom.com/index2.php?inc=2&type=3740
> 西门子图片 http://sms.tom.com/index2.php?inc=2&type=30
>
> 手机点歌 http://sms.tom.com/index2.php?inc=song
> ===============================================

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]