Mercurial > mplayer.hg
comparison configure @ 31662:7303e238c5fa
Add IBM ASM check for FFmpeg on PowerPC.
author | diego |
---|---|
date | Tue, 13 Jul 2010 10:49:23 +0000 |
parents | 0aeac13d3299 |
children | ee4a3866f6f9 |
comparison
equal
deleted
inserted
replaced
31661:7f16631c1de0 | 31662:7303e238c5fa |
---|---|
2784 cat > $TMPC << EOF | 2784 cat > $TMPC << EOF |
2785 int main(void) { __asm__ volatile ("lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)); return 0; } | 2785 int main(void) { __asm__ volatile ("lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)); return 0; } |
2786 EOF | 2786 EOF |
2787 cc_check && xform_asm=yes && def_xform_asm='#define HAVE_XFORM_ASM 1' | 2787 cc_check && xform_asm=yes && def_xform_asm='#define HAVE_XFORM_ASM 1' |
2788 echores "$xform_asm" | 2788 echores "$xform_asm" |
2789 | |
2790 def_ibm_asm='#define HAVE_IBM_ASM 0' | |
2791 ibm_asm=no | |
2792 echocheck "IBM ASM support" | |
2793 cat > $TMPC << EOF | |
2794 int main(void) { __asm__ volatile ("add 0, 0, 0"); return 0; } | |
2795 EOF | |
2796 cc_check && ibm_asm=yes && def_ibm_asm='#define HAVE_IBM_ASM 1' | |
2797 echores "$ibm_asm" | |
2789 fi | 2798 fi |
2790 | 2799 |
2791 if arm ; then | 2800 if arm ; then |
2792 echocheck "ARM pld instruction" | 2801 echocheck "ARM pld instruction" |
2793 cat > $TMPC << EOF | 2802 cat > $TMPC << EOF |
9216 $def_exp2 | 9225 $def_exp2 |
9217 $def_exp2f | 9226 $def_exp2f |
9218 $def_fast_64bit | 9227 $def_fast_64bit |
9219 $def_fast_unaligned | 9228 $def_fast_unaligned |
9220 $def_hardcoded_tables | 9229 $def_hardcoded_tables |
9230 $def_ibm_asm | |
9221 $def_libavcodec_mpegaudio_hp | 9231 $def_libavcodec_mpegaudio_hp |
9222 $def_llrint | 9232 $def_llrint |
9223 $def_llrintf | 9233 $def_llrintf |
9224 $def_local_aligned_8 | 9234 $def_local_aligned_8 |
9225 $def_local_aligned_16 | 9235 $def_local_aligned_16 |