• Mikulas Patocka's avatar
    avcodec/x86/hpeldsp: fix crash on AMD K6-3+ · 07415536
    Mikulas Patocka authored
    There are instructions pavgb and pavgusb. Both instructions do the same
    operation but they have different enconding. Pavgb exists in SSE (or
    MMXEXT) instruction set and pavgusb exists in 3D-NOW instruction set.
    
    livavcodec uses the macro PAVGB to select the proper instruction. However,
    the function avg_pixels8_xy2 doesn't use this macro, it uses pavgb
    directly.
    
    As a consequence, the function avg_pixels8_xy2 crashes on AMD K6-2 and
    K6-3 processors, because they have pavgusb, but not pavgb.
    
    This bug seems to be introduced by commit
    71155d7b, "dsputil: x86: Convert mpeg4
    qpel and dsputil avg to yasm"
    Signed-off-by: 's avatarMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    07415536
Name
Last commit
Last update
..
Makefile Loading commit data...
ac3dsp.asm Loading commit data...
ac3dsp_init.c Loading commit data...
cabac.h Loading commit data...
cavsdsp.c Loading commit data...
constants.c Loading commit data...
constants.h Loading commit data...
dct32.asm Loading commit data...
dct_init.c Loading commit data...
deinterlace.asm Loading commit data...
dirac_dwt.c Loading commit data...
dirac_dwt.h Loading commit data...
diracdsp_mmx.c Loading commit data...
diracdsp_mmx.h Loading commit data...
diracdsp_yasm.asm Loading commit data...
dnxhdenc.c Loading commit data...
dsputil.asm Loading commit data...
dsputil_init.c Loading commit data...
dsputil_mmx.c Loading commit data...
dsputil_qns_template.c Loading commit data...
dsputil_x86.c Loading commit data...
dsputil_x86.h Loading commit data...
dsputilenc.asm Loading commit data...
dsputilenc_mmx.c Loading commit data...
dwt_yasm.asm Loading commit data...
fdct.c Loading commit data...
fft.asm Loading commit data...
fft.h Loading commit data...
fft_init.c Loading commit data...
fmtconvert.asm Loading commit data...
fmtconvert_init.c Loading commit data...
fpel.asm Loading commit data...
fpel_mmx.c Loading commit data...
h263_loopfilter.asm Loading commit data...
h264_chromamc.asm Loading commit data...
h264_chromamc_10bit.asm Loading commit data...
h264_deblock.asm Loading commit data...
h264_deblock_10bit.asm Loading commit data...
h264_i386.h Loading commit data...
h264_idct.asm Loading commit data...
h264_idct_10bit.asm Loading commit data...
h264_intrapred.asm Loading commit data...
h264_intrapred_10bit.asm Loading commit data...
h264_intrapred_init.c Loading commit data...
h264_qpel.c Loading commit data...
h264_qpel_10bit.asm Loading commit data...
h264_qpel_8bit.asm Loading commit data...
h264_weight.asm Loading commit data...
h264_weight_10bit.asm Loading commit data...
h264chroma_init.c Loading commit data...
h264dsp_init.c Loading commit data...
hpeldsp.asm Loading commit data...
hpeldsp_init.c Loading commit data...
hpeldsp_mmx.c Loading commit data...
hpeldsp_rnd_template.c Loading commit data...
idct_mmx_xvid.c Loading commit data...
idct_sse2_xvid.c Loading commit data...
idct_xvid.h Loading commit data...
imdct36.asm Loading commit data...
lpc.c Loading commit data...
mathops.h Loading commit data...
mlpdsp.c Loading commit data...
motion_est.c Loading commit data...
mpeg4qpel.asm Loading commit data...
mpegaudiodsp.c Loading commit data...
mpegvideo.c Loading commit data...
mpegvideoenc.c Loading commit data...
mpegvideoenc_template.c Loading commit data...
pngdsp.asm Loading commit data...
pngdsp_init.c Loading commit data...
proresdsp.asm Loading commit data...
proresdsp_init.c Loading commit data...
qpel.asm Loading commit data...
rnd_mmx.c Loading commit data...
rnd_template.c Loading commit data...
rv34dsp.asm Loading commit data...
rv34dsp_init.c Loading commit data...
rv40dsp.asm Loading commit data...
rv40dsp_init.c Loading commit data...
sbrdsp.asm Loading commit data...
sbrdsp_init.c Loading commit data...
simple_idct.c Loading commit data...
snowdsp.c Loading commit data...
v210-init.c Loading commit data...
v210.asm Loading commit data...
vc1dsp.asm Loading commit data...
vc1dsp.h Loading commit data...
vc1dsp_init.c Loading commit data...
vc1dsp_mmx.c Loading commit data...
videodsp.asm Loading commit data...
videodsp_init.c Loading commit data...
vorbisdsp.asm Loading commit data...
vorbisdsp_init.c Loading commit data...
vp3dsp.asm Loading commit data...
vp3dsp_init.c Loading commit data...
vp56_arith.h Loading commit data...
vp6dsp.asm Loading commit data...
vp6dsp_init.c Loading commit data...
vp8dsp.asm Loading commit data...
vp8dsp_init.c Loading commit data...
vp8dsp_loopfilter.asm Loading commit data...
vp9dsp.asm Loading commit data...
vp9dsp_init.c Loading commit data...
w64xmmtest.c Loading commit data...