summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-04-18 00:00:31 +0000
committerMåns Rullgård <mans@mansr.com>2009-04-18 00:00:31 +0000
commit9f5ff83f2a836a34734250ec924b9bb45fa67573 (patch)
tree7a9ffa02c9049d6606aa3a94af56434173f695b9 /configure
parent3c55ce039d5b90afad35e19fc8ca6d147dd3f976 (diff)
PPC asm for AV_RL*()
PPC is normally big endian but has special little endian load/store instructions. Using these avoids a separate byteswap. This makes the vorbis decoder about 5% faster. Not much else uses little-endian read/write extensively. GCC generates horrible PPC code for the default AV_[RW]B64 (which uses a packed struct), so we override it with a plain pointer cast. Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index a5f608a5ff..1480515a1b 100755
--- a/configure
+++ b/configure
@@ -890,6 +890,7 @@ HAVE_LIST="
getrusage
inet_aton
inline_asm
+ ldbrx
libdc1394_1
libdc1394_2
llrint
@@ -1807,7 +1808,7 @@ if test $cpu != "generic"; then
Cell|CELL|cell)
add_cflags -mcpu=cell
warn_altivec disabled Cell
- enable ppc64
+ enable ppc64 ldbrx
;;
# targets that do NOT support conditional mov (cmov)
i[345]86|pentium|pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)