An example of software pipelining with GCC

I am looking for a real (source and generated code) software pipelining example ( http://en.wikipedia.org/wiki/Software_pipelining ) created by GCC. I tried to use the parameter -fmodulo-schedwhen compiling for IA64 and PowerPC architectures on versions 4.4-4.6 of GCC without any success. Do you know about such an example? The actual CPU architecture is no different.

thank

+5
source share
1 answer

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

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

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

http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/gcc.dg/, gnu viewcvs . sms-8.c.

+1

All Articles