1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00

dcbzl instruction is only for 64-bit implementations. define NO_DCBZL for ffmpeg. patch by Steven M. Schultz <sms@2BSD.COM>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15381 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2005-05-09 17:02:10 +00:00
parent 450e6b7d56
commit 2d018ad059

8
configure vendored
View File

@ -1000,6 +1000,7 @@ EOF
ppc)
_def_arch='#define ARCH_POWERPC 1'
_def_dcbzl='#define NO_DCBZL 1'
_target_arch='TARGET_ARCH_POWERPC = yes'
iproc='ppc'
proc=''
@ -1064,7 +1065,8 @@ EOF
# gcc 3.2 and up supports 970
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then
case "$proc" in
970*) _march='-mcpu=970' _mcpu='-mtune=970' ;;
970*) _march='-mcpu=970' _mcpu='-mtune=970'
_def_dcbzl='#undef NO_DCBZL' ;;
*) ;;
esac
fi
@ -7337,6 +7339,10 @@ $_def_words_endian
$_def_arch
/* For the PPC. G5 has the dcbzl when in 64bit mode but G4s and earlier do not
have the instruction. */
$_def_dcbzl
/* libmpeg2 wants ARCH_PPC and the rest of mplayer use ARCH_POWERPC,
* define ARCH_PPC if ARCH_POWERPC is set to cope with that.
*/