# HG changeset patch # User rathann # Date 1172442790 0 # Node ID e65d1a3e4e15c679eed5ee882725322431d88320 # Parent 42d21ca22e7e02169d7fcb3a071d52278bb2b5c8 Support for PowerPC 440x embedded CPUs. Approved by Luca Barbato. diff -r 42d21ca22e7e -r e65d1a3e4e15 configure --- 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