[x265] [PATCH] asm: fix bug in filterHorizontal_p_p_4 with width less than 8 (seed 0x52578C72)
Min Chen
chenm003 at 163.com
Fri Oct 11 07:51:51 CEST 2013
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1381470706 -28800
# Node ID 067790d03bad0758fa3523288f008c9c76dd726e
# Parent 01c1c0caba9107b8cd14e00c39d128fc72762199
asm: fix bug in filterHorizontal_p_p_4 with width less than 8 (seed 0x52578C72)
diff -r 01c1c0caba91 -r 067790d03bad source/common/x86/ipfilter8.asm
--- a/source/common/x86/ipfilter8.asm Fri Oct 11 13:12:21 2013 +0800
+++ b/source/common/x86/ipfilter8.asm Fri Oct 11 13:51:46 2013 +0800
@@ -98,13 +98,14 @@
xor col, col
_loop_col:
+ cmp col, width
+ jge _end_col
+
FILTER_H4 x0, x1, x3
movh [dst + col], x1
add col, 8
-
- cmp col, width
- jl _loop_col
+ jmp _loop_col
_end_col:
test widthleft, widthleft
More information about the x265-devel
mailing list