如何在X86体系结构上编译DSPSTONE的浮动计算?
我想使用此基准测试来评估我在编译器中的优化。
我可以在x86体系结构上编译DSPSTONE的 int Computation ,而另一个则不能。
错误是主函数的类型是浮动。
我知道在X86体系结构中不允许使用它,因此我想知道是否还有其他方法可以在X86上进行编译。
谢谢!!
I want to use this benchmark to evaluate my optimization in compiler.
I can compile int computation of DSPStone on X86 architecture, but the other cannot.
The error is the type of main function is float.
I know it is not allowed in X86 architecture, so I want to know if there are other ways to compile it on X86.
Thanks!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需创建一个浮点功能,然后使用主功能调用它。请阅读一些C教程。
我建议这样做: https://wwwww.tutorialspoint.com/cprogramming/cprogramming/cprogramming/index.htm
You just create a float function and call it with your main function. Please read some C tutorials.
I suggest this one: https://www.tutorialspoint.com/cprogramming/index.htm