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 e32cd30..d87de69 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