Skip to content

Instantly share code, notes, and snippets.

View zpzim's full-sized avatar

Zach Zimmerman zpzim

View GitHub Profile
@zpzim
zpzim / ssecheck.cpp
Created February 13, 2022 04:30 — forked from hi2p-perim/ssecheck.cpp
Check SSE/AVX instruction support.
/*
Check SSE/AVX support.
This application can detect the instruction support of
SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4a, SSE5, and AVX.
*/
#include <iostream>
#ifdef _MSC_VER
#include <intrin.h>
#endif