GCC的软件流水线示例 [英] Software Pipelining Example with GCC

查看:80
本文介绍了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:

文件sms-1.c --- sms-7.c

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆