Based on patch by Francisco Blas Izquierdo Riera
Commit message partly taken from carl
fixes a compilation
error in mlpdsp_init.c with -fstack-check and some gcc compilers (I
reproduced the issue with gcc 4.7.3) by simplifying the code.
See also https://bugs.gentoo.org/show_bug.cgi?id=471756
$ make libavcodec/x86/mlpdsp_init.o
libavcodec/x86/mlpdsp_init.c: In function ‘mlp_filter_channel_x86’:
libavcodec/x86/mlpdsp_init.c:142:5: error: can’t find a register in
class ‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/mlpdsp_init.c:142:5: error: ‘asm’ operand has impossible
constraints
4551 -> 4509 dezicycles
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ac3dsp.asm | ||
| ac3dsp_mmx.c | ||
| cabac.h | ||
| cavsdsp_mmx.c | ||
| dct32_sse.asm | ||
| deinterlace.asm | ||
| dnxhd_mmx.c | ||
| dsputil_mmx.c | ||
| dsputil_mmx.h | ||
| dsputil_mmx_avg_template.c | ||
| dsputil_mmx_qns_template.c | ||
| dsputil_mmx_rnd_template.c | ||
| dsputil_yasm.asm | ||
| dsputilenc_mmx.c | ||
| dsputilenc_yasm.asm | ||
| fdct_mmx.c | ||
| fft.c | ||
| fft.h | ||
| fft_3dn.c | ||
| fft_3dn2.c | ||
| fft_mmx.asm | ||
| fft_sse.c | ||
| fmtconvert.asm | ||
| fmtconvert_mmx.c | ||
| h264_chromamc.asm | ||
| h264_chromamc_10bit.asm | ||
| h264_deblock.asm | ||
| h264_deblock_10bit.asm | ||
| h264_i386.h | ||
| h264_idct.asm | ||
| h264_idct_10bit.asm | ||
| h264_intrapred.asm | ||
| h264_intrapred_10bit.asm | ||
| h264_intrapred_init.c | ||
| h264_qpel_mmx.c | ||
| h264_weight.asm | ||
| h264dsp_mmx.c | ||
| idct_mmx.c | ||
| idct_mmx_xvid.c | ||
| idct_sse2_xvid.c | ||
| idct_xvid.h | ||
| lpc_mmx.c | ||
| Makefile | ||
| mathops.h | ||
| mlpdsp.c | ||
| motion_est_mmx.c | ||
| mpegaudiodec_mmx.c | ||
| mpegvideo_mmx.c | ||
| mpegvideo_mmx_template.c | ||
| png_mmx.c | ||
| simple_idct_mmx.c | ||
| snowdsp_mmx.c | ||
| vc1dsp_mmx.c | ||
| vc1dsp_yasm.asm | ||
| vp3dsp.asm | ||
| vp8dsp-init.c | ||
| vp8dsp.asm | ||
| vp56_arith.h | ||
| vp56dsp.asm | ||
| vp56dsp_init.c | ||
| x86inc.asm | ||
| x86util.asm | ||