Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

developing for new instruction sets

Tags:

x86

avx

sse

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?

like image 789
Nathan Fellman Avatar asked Jan 24 '23 21:01

Nathan Fellman


2 Answers

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.

like image 87
gatorfax Avatar answered Jan 31 '23 08:01

gatorfax


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.

like image 28
ChrisW Avatar answered Jan 31 '23 08:01

ChrisW