• 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
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...