[FFmpeg-devel] [PATCH] ssse3 configure check
Loren Merritt
lorenm
Wed May 9 04:18:20 CEST 2007
$subj, as noticed by Mike Melanson.
Should it go with the x86 stuff or with the simd stuff? Naming?
--Loren Merritt
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 8946)
+++ configure (working copy)
@@ -646,6 +646,7 @@
sdl
sdl_video_size
soundcard_h
+ ssse3
sys_poll_h
sys_soundcard_h
threads
@@ -1436,6 +1437,13 @@
asm volatile ("":::"%ebx");
}
EOF
+
+ # check whether binutils is new enough to compile SSSE3
+ check_cc <<EOF && enable ssse3
+int main(){
+ asm volatile ("pabsw %xmm0, %xmm0");
+}
+EOF
fi
# check for assembler specific support
More information about the ffmpeg-devel
mailing list