"David Mathog" <mat...@caltech.edu> writes: > What is: > > __builtin_ia32_vec_ext_v2df > > ???
It's a gcc builtin function, not to be confused with an SSE intrinsic function. > It wasn't in the original emmintrin.h, so presumably isn't actually > part of SSE2, but it is present in the testsuite, and it is not visible > to the compiler when -mno-sse2 is set. See for instance the files > sse2-vec-#.c. (Randomly selected) Example: > > sse2-vec-4.c: res[2] = __builtin_ia32_vec_ext_v8hi ((__v8hi)val1.x, 2); Tests that directly invoke __builtin functions are not appropriate for your replacement for emmintrin.h. Ian