summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-25 22:33:10 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-25 22:33:10 +0000
commitea63308d9a795b00d7512d74acbc4c2483d8737c (patch)
treeb8b3862cfea6537982509cfc74fe0877a182ed61 /configure
parentbf15108d5633486c6ea5b634579a0b4506530066 (diff)
downloadmpv-ea63308d9a795b00d7512d74acbc4c2483d8737c.tar.bz2
mpv-ea63308d9a795b00d7512d74acbc4c2483d8737c.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index d804ee22e4..fefe23c89a 100755
--- a/configure
+++ b/configure
@@ -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