mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Check for and set HAVE_MMX2, it is used in several places.
patch by Alexander Strange, astrange ithinksw com Originally committed as revision 12487 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
503d5b585f
commit
d7f0920bd7
5
configure
vendored
5
configure
vendored
@ -699,6 +699,7 @@ ARCH_EXT_LIST='
|
|||||||
iwmmxt
|
iwmmxt
|
||||||
mmi
|
mmi
|
||||||
mmx
|
mmx
|
||||||
|
mmx2
|
||||||
ssse3
|
ssse3
|
||||||
vis
|
vis
|
||||||
'
|
'
|
||||||
@ -780,6 +781,7 @@ armv6_deps="armv4l"
|
|||||||
iwmmxt_deps="armv4l"
|
iwmmxt_deps="armv4l"
|
||||||
mmi_deps="mips"
|
mmi_deps="mips"
|
||||||
mmx_deps="x86"
|
mmx_deps="x86"
|
||||||
|
mmx2_deps="x86"
|
||||||
ssse3_deps="x86"
|
ssse3_deps="x86"
|
||||||
vis_deps="sparc"
|
vis_deps="sparc"
|
||||||
|
|
||||||
@ -1517,8 +1519,9 @@ EOF
|
|||||||
# check wether EBX is available on x86
|
# check wether EBX is available on x86
|
||||||
check_asm ebx_available '"":::"%ebx"'
|
check_asm ebx_available '"":::"%ebx"'
|
||||||
|
|
||||||
# check whether binutils is new enough to compile SSSE3
|
# check whether binutils is new enough to compile SSSE3/MMX2
|
||||||
enabled ssse3 && check_asm ssse3 '"pabsw %xmm0, %xmm0"'
|
enabled ssse3 && check_asm ssse3 '"pabsw %xmm0, %xmm0"'
|
||||||
|
enabled mmx2 && check_asm mmx2 '"movss %xmm0, %xmm0"'
|
||||||
|
|
||||||
check_asm bswap '"bswap %%eax" ::: "%eax"'
|
check_asm bswap '"bswap %%eax" ::: "%eax"'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user