Support for PowerPC 440x embedded CPUs.

Approved by Luca Barbato.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22347 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2007-02-25 22:33:10 +00:00
parent bf15108d56
commit ea63308d9a
1 changed files with 8 additions and 0 deletions

8
configure vendored
View File

@ -1937,6 +1937,14 @@ EOF
*) ;;
esac
fi
# gcc 3.4 and up supports 440*
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "4" || test "$_cc_major" -ge "4"; then
case "$proc" in
440EP*) _march='-mcpu=440fp' _mcpu='-mtune=440fp' ;;
440G* ) _march='-mcpu=440' _mcpu='-mtune=440' ;;
*) ;;
esac
fi
# gcc 4.0 and up supports POWER5
if test "$_cc_major" -ge "4"; then
case "$proc" in