CPU support for SIMD
Last updated
Was this helpful?
Last updated
Was this helpful?
SIMD has been developing and evolving for several generations. Intel and AMD CPUs provide their own SIMD instruction sets. Throughout this tutorial, we focus on Intel SIMD instructions, so please also write your assignments(assignment-1) using Intel SIMD. If your PC uses AMD CPU, you can do your assignments using Linux/HPC servers provided by the CSE department.
Intel has developed several generations of SIMD instruction sets, you can find all these instructions and guides on .
To ensure fairness, we will grade your assignments on the HPC15 provided by the CSE department, which supports a lot of (not all) SIMD instructions including:
MMX
SSE
SSE2
SSE3
SSSE3
SSE4.1
SSE4.2
AVX
To find which SIMD instruction sets are supported by your CPU, compile and run using the following commands:
For more information about different SIMD instruction sets, please refer to . Roughly, MMX supports operations on integers, SSE supports single-precision floats and SSE2 supports double-precision floats and others supplement even more features.