GCC的软件流水线示例 [英] Software Pipelining Example with GCC
问题描述
我正在寻找软件流水线的真实示例(源代码和生成的代码)( http://enGCC制作的.wikipedia.org/wiki/Software_pipelining ).在GCC 4.4-4.6版为IA64和PowerPC架构进行编译时,我尝试使用 -fmodulo-sched
选项,但没有成功.您知道这样的例子吗?实际的CPU架构没有什么不同.
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.
谢谢
推荐答案
gcc测试套件提供了一些针对"-fmodulo-sched"选项的测试.您可以检查它们:
There are some tests from gcc testsuite for "-fmodulo-sched" option. You can check them:
files sms-1.c --- sms-7.c
也在此处 http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/gcc.dg/,但是gnu的viewcvs非常慢.添加了sms-8.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.
这篇关于GCC的软件流水线示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!