Commit bd09e3e8 authored by lu_zero's avatar lu_zero

Add support for Cell (requires gcc-4.2 or patches)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9181 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7a989948
...@@ -1365,6 +1365,11 @@ if test $cpu != "generic"; then ...@@ -1365,6 +1365,11 @@ if test $cpu != "generic"; then
warn_altivec disabled PPC970 warn_altivec disabled PPC970
POWERPCMODE="64bits" POWERPCMODE="64bits"
;; ;;
Cell|CELL|cell)
add_cflags "-mcpu=cell"
warn_altivec disabled Cell
POWERPCMODE="64bits"
;;
# targets that do NOT support conditional mov (cmov) # targets that do NOT support conditional mov (cmov)
i[345]86|pentium|pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3) i[345]86|pentium|pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)
add_cflags "-march=$cpu" add_cflags "-march=$cpu"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment