Add support for Cell (requires gcc-4.2 or patches)
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 3 Jun 2007 13:09:58 +0000 (13:09 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 3 Jun 2007 13:09:58 +0000 (13:09 +0000)
Originally committed as revision 9181 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f36ba0e463d92c52fce0046826de54d53c4cfb33..6130b28e2d5989daadcb488a3d32eaf8d7e99b4a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1365,6 +1365,11 @@ if test $cpu != "generic"; then
             warn_altivec disabled PPC970
             POWERPCMODE="64bits"
         ;;
+        Cell|CELL|cell)
+            add_cflags "-mcpu=cell"
+            warn_altivec disabled Cell
+            POWERPCMODE="64bits"
+        ;;
         # targets that do NOT support conditional mov (cmov)
         i[345]86|pentium|pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)
             add_cflags "-march=$cpu"