summaryrefslogtreecommitdiff
path: root/src/sna/blt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-04-08 08:03:11 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-04-08 08:03:11 +0100
commit27ec7e49daca956733b2756dc6ae3c3eda4dd56b (patch)
treeb21537d03dce894397dca4fbd317fb64777d8ad0 /src/sna/blt.c
parent65c72d9871fed7db47b5d5a2abdd43566844dcd5 (diff)
sna: Force inlinement of SSE2 builtins
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/blt.c')
-rw-r--r--src/sna/blt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sna/blt.c b/src/sna/blt.c
index 6f797f4e..3aff6b55 100644
--- a/src/sna/blt.c
+++ b/src/sna/blt.c
@@ -120,31 +120,31 @@ static bool have_sse2(void)
}
#endif
-static inline __m128i
+static force_inline __m128i
xmm_create_mask_32(uint32_t mask)
{
return _mm_set_epi32(mask, mask, mask, mask);
}
-static inline __m128i
+static force_inline __m128i
xmm_load_128(const __m128i *src)
{
return _mm_load_si128(src);
}
-static inline __m128i
+static force_inline __m128i
xmm_load_128u(const __m128i *src)
{
return _mm_loadu_si128(src);
}
-static inline void
+static force_inline void
xmm_save_128(__m128i *dst, __m128i data)
{
_mm_store_si128(dst, data);
}
-static inline void
+static force_inline void
xmm_save_128u(__m128i *dst, __m128i data)
{
_mm_storeu_si128(dst, data);