I am trying to use _mm_prefetch() function. from here, I thought it was from SSE.
when I compile it with gcc7.3.1, I do like follows:
gcc -std=c11 -msse -msse2 -mfpmath=sse -O3 -fopenmp MyApp.c
But it complain that
conway.c:(.text+0x1ce): undefined reference to `__mm_prefetch'conway.c:(.text+0x1df): undefined reference to `__mm_prefetch'conway.c:(.text+0x1f3): undefined reference to `__mm_prefetch'
my question is
(1)Did I miss some library? I google but can not find which library should be linked.
(2)Is there some book or anyting else that demenstorates how to use SSE instruction for newbie?
thank you!