如何在 Visual Studio 2010 中添加 SIMD 相关编译器标志

发布于 2024-11-26 23:26:04 字数 440 浏览 8 评论 0原文

我找到了这个标志列表:

http://www.ncsa.illinois.edu/UserInfo/Resources/Software/Intel/Compilers/10.0/main_for/mergedProjects/optaps_for/common/optaps_dsp_targ.htm

我想要尝试将其中一些添加到我的项目中。我似乎找不到在 Visual Studio 2010 平台上执行此操作的方法:(

有谁知道如何执行此操作吗?

谢谢!!!

I found this list of flags:

http://www.ncsa.illinois.edu/UserInfo/Resources/Software/Intel/Compilers/10.0/main_for/mergedProjects/optaps_for/common/optaps_dsp_targ.htm

and I'd like to try and add some of them to my project. I can't seem to find the way to do it on a visual studio 2010 platform :(

Does anyone know how to do it?

Thanks!!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笙痞 2024-12-03 23:26:04

Visual Studio 中的 /arch 标志允许您指定目标处理器体系结构,并包括对 SSE2 等的支持。此 MSDN 页面介绍了如何该标志在 SIMD/SSE2 上下文中工作。

Visual Studio 还支持显式使用 SSE2 指令 通过 编译器内部函数

The /arch flag in Visual Studio allows you to specify the target processor architecture, and includes support for SSE2, amongst others. This MSDN page describes how the flag works in the context of SIMD/SSE2.

Visual Studio also supports explicit usage of SSE2 instructions via compiler intrinsics.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文