Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Software Pipelining Example with GCC

I am looking for a real (source and generated code) example of software pipelining (http://en.wikipedia.org/wiki/Software_pipelining) produced by GCC. I tried to use -fmodulo-sched option when compiling for IA64 and PowerPC architectures by GCC versions 4.4-4.6 with no success. Are you aware about such example? The actual CPU architecture has no difference.

Thank you

like image 999
Serge C Avatar asked Nov 15 '22 04:11

Serge C


1 Answers

There are some tests from gcc testsuite for "-fmodulo-sched" option. You can check them:

http://www.google.com/codesearch/p?hl=en#OV-zwmL9vlY/gcc/gcc/testsuite/gcc.dg/sms-1.c&q=sms-6.c&d=4

files sms-1.c --- sms-7.c

Also here, http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/gcc.dg/ but gnu's viewcvs is very slow. The sms-8.c is added.

like image 142
osgx Avatar answered Dec 22 '22 04:12

osgx