This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A header file to get you set going with Intel SIMD instrinsic programming. | |
// All necessary header files are inlucded for SSE2, SSE41, and AVX2 | |
// Macros make the intrinsics easier to read and generic so you can compile to | |
// SSE2 or AVX2 with the flip of a #define | |
#define SSE2 //indicates we want SSE2 | |
#define SSE41 //indicates we want SSE4.1 instructions (floor and blend is available) | |
#define AVX2 //indicates we want AVX2 instructions (double speed!) |