ref: acac4c93d49bf3d43fbd3aa1320bf724faa3532d
parent: 5898758bc15479848f12bb68b1e698ecd3acf8b4
author: Martin Storsjö <[email protected]>
date: Wed Jan 30 05:29:05 EST 2019
arm64: looprestoration: Fix the loop condition in copy_narrow_neon These cases looped round too many.
--- a/src/arm/64/looprestoration.S
+++ b/src/arm/64/looprestoration.S
@@ -523,7 +523,7 @@
subs w4, w4, #1
ld1 {v0.b}[0], [x2], #1
st1 {v0.b}[0], [x0], x1
- b.ge 11b
+ b.gt 11b
0:
ret
@@ -547,7 +547,7 @@
subs w4, w4, #1
ld1 {v0.h}[0], [x2], #2
st1 {v0.h}[0], [x0], x1
- b.ge 22b
+ b.gt 22b
0:
ret