开发新指令集
英特尔将发布一个名为 AVX 的新指令集,其中包括SSE 到 256 位操作的扩展。 即,4 个双精度元素或 8 个单精度元素。
考虑到目前还没有支持 AVX 的硬件,人们将如何着手为 AVX 开发代码呢? 更一般地说,开发人员如何为不存在的硬件编写代码,例如,如果他们希望在支持的 CPU 发布时准备好软件?
Intel is set to release a new instruction set called AVX, which includes an extension of SSE to 256-bit operation. That is, either 4 double-precision elements or 8 single-precision elements.
How would one go about developing code for AVX, considering there's no hardware out there that supports it yet? More generally, how can developers write code for hardware that doesn't exist, for instance if they want to have software ready when the supporting CPU is released?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
也许我遗漏了您的问题的一些内容,但答案似乎在您链接的网站上。 使用英特尔编译器访问新的内部函数,以便您可以生成代码并使用模拟器对其进行测试。
Maybe I'm missing something about your question but it seems the answer is on the website that you linked. Use the Intel Compiler to get access to the new intrinsic functions so you can generate the code and use the emulator to test it.
http://www.google.com/search?hl= en&q=intel+avx+emulator 找到 http://software.intel.com/en-us/articles/intel-software-development-emulator/ 非常容易。
http://www.google.com/search?hl=en&q=intel+avx+emulator found http://software.intel.com/en-us/articles/intel-software-development-emulator/ pretty easily.
联系英特尔并询问他们是否有可用的模拟器? 不是硬件级模拟器,而是指令集模拟器。 事实上,英特尔有一个可用的模拟器。
或者您可以自己编写一个 - 对于某些人来说可能是一个有趣的项目!
Contact Intel and ask if they have a simulator available? Not a hardware level simulator, but an instruction set simulator. Indeed Intel have an emulator available.
Or you could write one yourself - might be a fun project for some people!