目前哪些汇编器支持 AVX 指令集?

发布于 2024-08-11 08:59:14 字数 268 浏览 5 评论 0原文

我想开始使用一些 AVX(高级矢量扩展)指令。我知道英特尔提供了一个模拟器来测试包含这些指令的软件(请参阅这个问题),但由于我不想手动编写十六进制代码,因此出现了一个问题:当前哪些汇编器知道 AVX 指令集?

我对在 Windows 下运行的汇编器最感兴趣,并且可以制作接受英特尔语法。

I'd like to start and play with some AVX (advanced vector extension) instructions. I know Intel provides an emulator to test software containing these instructions (see this question), but since I don't want to manually write hex code, the question arises as to which assemblers currently know the AVX instruction set?

I would be most interested in assemblers that run under Windows and can be made to accept Intel syntax.

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

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

发布评论

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

评论(2

椵侞 2024-08-18 08:59:14

除了masm之外,最近的yasm和gas也支持avx,gcc的内联汇编器也支持avx。

Besides masm, recent yasm and gas do support avx too, and so does the inline assembler of gcc.

非要怀念 2024-08-18 08:59:14

MASM 64Bits (ML64.EXE) 似乎支持 AVX 指令集。

来自 MS vcblog,是这样说的:

Intel 和 AMD 中对 AVX 的支持
处理器:Intel AVX(英特尔
第256章
位指令集扩展至 SSE
专为以下应用而设计
是浮点密集型[...]。


VS2010 发布,所有 AVX 功能和
指令完全支持通过
内在和/arch:AVX。许多
优化已添加到
提高AVX代码的代码质量
将要描述的一代
即将发布的博客中有更多详细信息
邮政。除了 AVX 支持之外
编译器、微软宏
VS2010 中的汇编器 (MASM) 也
支持Intel AVX指令集
适用于 x86 和 x64。

编辑:

YASM 和 NASM 似乎也支持 Intel AVX,根据此页面:
http://software.intel.com/en-us /文章/英特尔软件开发模拟器/

MASM 64Bits (ML64.EXE) seems to support AVX instruction set.

From MS vcblog, it is said:

Support for AVX in Intel and AMD
processors:
Intel AVX (Intel
Advanced Vector Extensions) is a 256
bit instruction set extension to SSE
and is designed for applications that
are floating point intensive [...].

In
VS2010 release, all AVX features and
instructions are fully supported via
intrinsic and /arch:AVX. Many
optimizations have been added to
improve the code quality of AVX code
generation which will be described
with more details in an upcoming blog
post. In addition to AVX support in
the compiler, the Microsoft Macro
Assembler (MASM) in VS2010 also
supports the Intel AVX instruction set
for x86 and x64.

EDIT:

YASM and NASM seems to support Intel AVX too, according this page:
http://software.intel.com/en-us/articles/intel-software-development-emulator/

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