Software Pipelining Example with GCC

雨燕双飞 提交于 2021-02-07 07:18:39

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/4479059/software-pipelining-example-with-gcc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!