summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-07-09 02:21:25 +0200
committerMartin Storsjö <martin@martin.st>2012-07-10 14:33:09 +0300
commitf80ddd5bf760e685f4d912ce6e6763e6cab45910 (patch)
tree4585d8dd37d1505415b5037c6b36600c2872ffee /configure
parent620b1e7e989e71825858c621fa96a7e0a742d239 (diff)
lavu: use intrinsics for emms on systems lacking inline asm support
Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 7507f8f387..a1506c9262 100755
--- a/configure
+++ b/configure
@@ -1116,6 +1116,7 @@ HAVE_LIST="
MapViewOfFile
memalign
mkstemp
+ mm_empty
mmap
nanosleep
netinet_sctp_h
@@ -2743,6 +2744,8 @@ elif enabled x86; then
check_code ld intrin.h "__rdtsc()" && enable rdtsc
+ check_code ld mmintrin.h "_mm_empty()" && enable mm_empty
+
enable local_aligned_8 local_aligned_16
# check whether EBP is available on x86