Zelda64Recomp/cmake/checks/cpu_sse42.cpp

13 lines
238 B
C++
Raw Normal View History

2024-05-21 23:43:40 +02:00
#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;
}