Zelda64Recomp/cmake/checks/cpu_sse42.cpp
2024-05-22 00:25:41 +02:00

13 lines
238 B
C++

#include <stdio.h>
#include <nmmintrin.h>
int test() {
unsigned int res = _mm_crc32_u8(1, 2);
}
int main() {
auto result = test();
printf("SSE4.2 supported and test function executed. Result: %d\n", result);
return 0;
}