View Matrix_AVX_benchmark.cpp
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
/* | |
* Credit: AVX part refered to https://chryswoods.com/vector_c++/immintrin.html | |
* and https://gist.github.com/rygorous/4172889 | |
* Documents at https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html | |
*/ | |
#include <immintrin.h> | |
#include <iostream> | |
#include <stdlib.h> | |
#include <string.h> //memcmp | |
#include <time.h> |