PPC: allow --cpu=E500[v2]
authorAncoron Luciferis <ancoron@chaoslayer.de>
Sat, 30 Jan 2010 18:07:07 +0000 (18:07 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 30 Jan 2010 18:07:07 +0000 (18:07 +0000)
Patch by Ancoron Luciferis <ancoron chaoslayer de>

Originally committed as revision 21544 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index e32cd30a61def579600979c7c347a6691c41d810..d87de6909831f7843aeac5ca94db892d8c5ac167 100755 (executable)
--- a/configure
+++ b/configure
@@ -1912,6 +1912,14 @@ elif enabled ppc; then
             cpuflags="-mcpu=cell"
             enable ldbrx
         ;;
+        e500v2)
+            cpuflags="-mcpu=8548 -mhard-float -mfloat-gprs=double"
+            disable altivec
+        ;;
+        e500)
+            cpuflags="-mcpu=8540 -mhard-float"
+            disable altivec
+        ;;
     esac
 
 elif enabled x86; then