diff options
author | Linjie Fu <linjie.fu@intel.com> | 2020-03-05 15:47:54 +0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-03-27 10:57:40 +0100 |
commit | e9abef437f0a348c017d4ac8b23a122881c1dc87 (patch) | |
tree | 9b80b2c389a1320211dbd9c08e235cdc51ee503f /tests/checkasm | |
parent | 0da14ed09e557bd672881d35fd47c2d18df4ad4e (diff) |
lavc/x86/hevc_add_res: Fix overflow in ADD_RES_SSE_8_8
Fix overflow for coeff -32768 in function ADD_RES_SSE_8_8 with
no performance drop.
./checkasm --test=hevc_add_res --bench
Mainline:
- hevc_add_res.add_residual [OK]
hevc_add_res_8x8_8_sse2: 15.5
Add overflow test case:
- hevc_add_res.add_residual [FAILED]
After:
- hevc_add_res.add_residual [OK]
hevc_add_res_8x8_8_sse2: 15.5
Signed-off-by: Xu Guangxin <guangxin.xu@intel.com>
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests/checkasm')
0 files changed, 0 insertions, 0 deletions