#endif
#ifdef USE_SSE2
-static const FastPathInfo sse_fast_paths[] =
+static const FastPathInfo sse2_fast_paths[] =
{
{ PIXMAN_OP_OVER, PIXMAN_solid, PIXMAN_a8, PIXMAN_r5g6b5, fbCompositeSolidMask_nx8x0565sse2, 0 },
{ PIXMAN_OP_OVER, PIXMAN_solid, PIXMAN_a8, PIXMAN_b5g6r5, fbCompositeSolidMask_nx8x0565sse2, 0 },
#endif
#ifdef USE_SSE2
- fbComposeSetupSSE();
+ fbComposeSetupSSE2();
#endif
if (srcRepeat && srcTransform &&
info = NULL;
#ifdef USE_SSE2
- if (pixman_have_sse ())
- info = get_fast_path (sse_fast_paths, op, pSrc, pMask, pDst, pixbuf);
+ if (pixman_have_sse2 ())
+ info = get_fast_path (sse2_fast_paths, op, pSrc, pMask, pDst, pixbuf);
#endif
#ifdef USE_MMX
#ifdef USE_SSE2
pixman_bool_t
-pixman_have_sse (void)
+pixman_have_sse2 (void)
{
static pixman_bool_t initialized = FALSE;
- static pixman_bool_t sse_present;
+ static pixman_bool_t sse2_present;
if (!initialized)
{
unsigned int features = detectCPUFeatures();
- sse_present = (features & (MMX|MMX_Extensions|SSE|SSE2)) == (MMX|MMX_Extensions|SSE|SSE2);
+ sse2_present = (features & (MMX|MMX_Extensions|SSE|SSE2)) == (MMX|MMX_Extensions|SSE|SSE2);
initialized = TRUE;
}
- return sse_present;
+ return sse2_present;
}
#endif
#ifdef USE_SSE2
#if !defined(__amd64__) && !defined(__x86_64__)
-pixman_bool_t pixman_have_sse(void);
+pixman_bool_t pixman_have_sse2(void);
#else
-#define pixman_have_sse() TRUE
+#define pixman_have_sse2() TRUE
#endif
#else
-#define pixman_have_sse() FALSE
+#define pixman_have_sse2() FALSE
#endif
#ifdef USE_SSE2
-void fbComposeSetupSSE(void);
+void fbComposeSetupSSE2(void);
pixman_bool_t
pixmanFillsse2 (uint32_t *bits,
}
/* -------------------------------------------------------------------------------------------------
- * fbComposeSetupSSE
+ * fbComposeSetupSSE2
*/
static inline __m64
createMask_16_64 (uint16_t mask)
}
void
-fbComposeSetupSSE(void)
+fbComposeSetupSSE2(void)
{
static pixman_bool_t initialized = FALSE;
return;
/* check if we have SSE2 support and initialize accordingly */
- if (pixman_have_sse())
+ if (pixman_have_sse2())
{
/* SSE2 constants */
Mask565r = createMask_2x32_128 (0x00f80000, 0x00f80000);