Since the Solaris Studio compilers don't have a mode where MMX
instructions are available and SSE instructions are not, we can
just use the <xmmintrin.h> header directly.
Fixes build failure due to Studio not supporting the __gnu_inline__
or __artificial__ attributes.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: Matt Turner <mattst88@gmail.com>
#endif
#ifdef USE_X86_MMX
+# ifdef __SUNPRO_C
+# include <xmmintrin.h>
+# else
/* We have to compile with -msse to use xmmintrin.h, but that causes SSE
* instructions to be generated that we don't want. Just duplicate the
* functions we want to use. */
return ret;
}
+# endif
#endif
#define _MM_SHUFFLE(fp3,fp2,fp1,fp0) \