Mercurial > mplayer.hg
changeset 22329:e65d1a3e4e15
Support for PowerPC 440x embedded CPUs.
Approved by Luca Barbato.
author | rathann |
---|---|
date | Sun, 25 Feb 2007 22:33:10 +0000 |
parents | 42d21ca22e7e |
children | 3e9ffa27ca7f |
files | configure |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sun Feb 25 21:21:09 2007 +0000 +++ b/configure Sun Feb 25 22:33:10 2007 +0000 @@ -1937,6 +1937,14 @@ *) ;; 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