I am wondering if Microsoft SSE intrinsics is a little different than normal because I tried to compile this code with GCC with the flags -msse -msse2 -msse3 -msse4
#include <stdio.h>
and this gave me the following errors:
sse_test_not_zero.c||In function 'main':| sse_test_not_zero.c|8|error: request for member 'm128i_u64' in something not a structure or union| sse_test_not_zero.c|9|error: request for member 'm128i_u64' in something not a structure or union| sse_test_not_zero.c|9|warning: integer constant is too large for 'long' type| sse_test_not_zero.c|11|error: request for member 'm128i_u64' in something not a structure or union| sse_test_not_zero.c|12|error: request for member 'm128i_u64' in something not a structure or union| sse_test_not_zero.c|16|error: request for member 'm128i_u64' in something not a structure or union| sse_test_not_zero.c|20|warning: implicit declaration of function 'printf_s'|
It seems to me that I need to create a struct for __m128i , although there may be a better solution to this problem if someone knows about it.
gcc struct sse intrinsics
pandoragami
source share