developing for new instruction sets

青春壹個敷衍的年華 提交于 2019-12-17 19:25:38

问题


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?


回答1:


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.




回答2:


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.




回答3:


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!



来源:https://stackoverflow.com/questions/458869/developing-for-new-instruction-sets

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