• Linjie Fu's avatar
    tests/checkasm: add overflow test for hevc_add_res · ddf6ca3a
    Linjie Fu authored
    Add overflow test for hevc_add_res when int16_t coeff = -32768.
    
    The result of C is good, while ASM is not.
    
    To verify:
        make fate-checkasm-hevc_add_res
        ffmpeg/tests/checkasm/checkasm --test=hevc_add_res
    
    ./checkasm --test=hevc_add_res
    checkasm: using random seed 679391863
    MMXEXT:
        hevc_add_res_4x4_8_mmxext (hevc_add_res.c:69)
      - hevc_add_res.add_residual [FAILED]
    SSE2:
        hevc_add_res_8x8_8_sse2 (hevc_add_res.c:69)
        hevc_add_res_16x16_8_sse2 (hevc_add_res.c:69)
        hevc_add_res_32x32_8_sse2 (hevc_add_res.c:69)
      - hevc_add_res.add_residual [FAILED]
    AVX:
        hevc_add_res_8x8_8_avx (hevc_add_res.c:69)
        hevc_add_res_16x16_8_avx (hevc_add_res.c:69)
        hevc_add_res_32x32_8_avx (hevc_add_res.c:69)
      - hevc_add_res.add_residual [FAILED]
    AVX2:
        hevc_add_res_32x32_8_avx2 (hevc_add_res.c:69)
      - hevc_add_res.add_residual [FAILED]
    checkasm: 8 of 14 tests have failed
    Signed-off-by: 's avatarXu Guangxin <guangxin.xu@intel.com>
    Signed-off-by: 's avatarLinjie Fu <linjie.fu@intel.com>
    Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
    ddf6ca3a
Name
Last commit
Last update
..
aarch64 Loading commit data...
arm Loading commit data...
x86 Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
aacpsdsp.c Loading commit data...
af_afir.c Loading commit data...
alacdsp.c Loading commit data...
audiodsp.c Loading commit data...
blockdsp.c Loading commit data...
bswapdsp.c Loading commit data...
checkasm.c Loading commit data...
checkasm.h Loading commit data...
exrdsp.c Loading commit data...
fixed_dsp.c Loading commit data...
flacdsp.c Loading commit data...
float_dsp.c Loading commit data...
fmtconvert.c Loading commit data...
g722dsp.c Loading commit data...
h264dsp.c Loading commit data...
h264pred.c Loading commit data...
h264qpel.c Loading commit data...
hevc_add_res.c Loading commit data...
hevc_idct.c Loading commit data...
hevc_sao.c Loading commit data...
huffyuvdsp.c Loading commit data...
jpeg2000dsp.c Loading commit data...
llviddsp.c Loading commit data...
llviddspenc.c Loading commit data...
opusdsp.c Loading commit data...
pixblockdsp.c Loading commit data...
sbrdsp.c Loading commit data...
sw_rgb.c Loading commit data...
synth_filter.c Loading commit data...
utvideodsp.c Loading commit data...
v210dec.c Loading commit data...
v210enc.c Loading commit data...
vf_blend.c Loading commit data...
vf_colorspace.c Loading commit data...
vf_eq.c Loading commit data...
vf_gblur.c Loading commit data...
vf_hflip.c Loading commit data...
vf_nlmeans.c Loading commit data...
vf_threshold.c Loading commit data...
videodsp.c Loading commit data...
vp8dsp.c Loading commit data...
vp9dsp.c Loading commit data...