diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-11 12:47:45 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-11 12:47:45 +0000 |
commit | 506063f11a7c1b9f1e676fdeab5c157c1a41b466 (patch) | |
tree | 83d0c4d28b00a73bf29169967f23ffe19541a897 /configure | |
parent | 338538f504ef63cc10382d14bc779ce05ce3325f (diff) | |
download | mpv-506063f11a7c1b9f1e676fdeab5c157c1a41b466.tar.bz2 mpv-506063f11a7c1b9f1e676fdeab5c157c1a41b466.tar.xz |
applied MMX2 memcpy() patch by Nick Kurshev
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@351 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -70,6 +70,7 @@ usage: $0 [options] params: --cc use this C compiler to build MPlayer [gcc] --enable-mmx build with mmx support [autodetect] + --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect] --enable-3dnow build with 3dnow! support [autodetect] --enable-sse build with sse support [autodetect] --enable-gl build with OpenGL render support [autodetect] @@ -153,6 +154,7 @@ pmodel=`cat /proc/cpuinfo | grep "model$TAB" | cut -d ':' -f 2 | cut -d ' ' -f 2 pstepping=`cat /proc/cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2` _mmx=no +_mmx2=no _3dnow=no _mtrr=no _sse=no @@ -193,6 +195,9 @@ for i in `echo $pparam`; do mmx) _mmx=yes ;; + mmxext) + _mmx2=yes + ;; mtrr) _mtrr=yes ;; @@ -444,6 +449,9 @@ do --enable-mmx) _mmx=yes ;; + --enable-mmx2) + _mmx2=yes + ;; --enable-mtrr) _mtrr=yes ;; @@ -506,6 +514,7 @@ do ;; --disable-mmx) _mmx=no + _mmx2=no ;; --disable-mtrr) _mtrr=no @@ -573,6 +582,7 @@ echo "Checking for cpu vendor ... $pvendor ( $pfamily:$pmodel:$pstepping )" echo "Checking for cpu type ... $pname" echo "Optimizing to ... $proc" echo "Checking for mmx support ... $_mmx" +echo "Checking for mmx2 support ... $_mmx2" echo "Checking for 3dnow support ... $_3dnow" echo "Checking for sse support ... $_sse" echo "Checking for mtrr support ... $_mtrr" @@ -675,6 +685,12 @@ else _mmx='#undef HAVE_MMX' fi +if [ "$_mmx2" = "yes" ]; then + _mmx2='#define HAVE_MMX2' +else + _mmx2='#undef HAVE_MMX2' +fi + if [ $_3dnow = yes ]; then _3dnowm='#define HAVE_3DNOW' else @@ -851,6 +867,7 @@ $_termcap $_mlib // available only on solaris $_3dnowm // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) $_mmx // only define if you have MMX +$_mmx2 // only define if you have MMX2 $_ssem // only define if you have SSE (Intel Pentium III or Celeron II) /* libvo options */ |