[FFmpeg-cvslog] configure: Remove dcbzl check for e500v1 and e500v2 architectures
Peter Krefting
git at videolan.org
Fri Feb 7 00:57:46 CET 2014
ffmpeg | branch: master | Peter Krefting <peter at softwolves.pp.se> | Thu Feb 6 12:51:39 2014 +0100| [d5733936d857ce5c7d28c0bc9e89a2e2548f8895] | committer: Michael Niedermayer
configure: Remove dcbzl check for e500v1 and e500v2 architectures
The DCBZL instruction is not available for the e500v1 and e500v2
architectures, but may still be recognized by the toolchain, so we need to
remove the test for it explicitly for these architectures.
References: PowerPC™ e500 Core Family Reference Manual (Freescale)
Found-by: Ståle Kristoffersen <staalebk at ifi.uio.no>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5733936d857ce5c7d28c0bc9e89a2e2548f8895
---
configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 32bc5ba..2bd7f64 100755
--- a/configure
+++ b/configure
@@ -4147,7 +4147,8 @@ elif enabled ppc; then
enable local_aligned_8 local_aligned_16
- check_inline_asm dcbzl '"dcbzl 0, %0" :: "r"(0)'
+ [ $cpu != e500 -a $cpu != e500v2 ] &&
+ check_inline_asm dcbzl '"dcbzl 0, %0" :: "r"(0)'
check_inline_asm ibm_asm '"add 0, 0, 0"'
check_inline_asm ppc4xx '"maclhw r10, r11, r12"'
check_inline_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'
More information about the ffmpeg-cvslog
mailing list