Browse code

Fix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.

Originally committed as revision 17922 to svn://svn.ffmpeg.org/ffmpeg/trunk

Diego Biurrun authored on 2009/03/10 08:33:27
Showing 1 changed files
... ...
@@ -1856,7 +1856,7 @@ EOF
1856 1856
 
1857 1857
     # check whether binutils is new enough to compile SSSE3/MMX2
1858 1858
     enabled ssse3 && check_asm ssse3 '"pabsw %xmm0, %xmm0"'
1859
-    enabled mmx2  && check_asm mmx2  '"movss %xmm0, %xmm0"'
1859
+    enabled mmx2  && check_asm mmx2  '"pmaxub %mm0, %mm1"'
1860 1860
 
1861 1861
     check_asm bswap '"bswap %%eax" ::: "%eax"'
1862 1862