Commit acac4c93 authored by Martin Storsjö's avatar Martin Storsjö

arm64: looprestoration: Fix the loop condition in copy_narrow_neon

These cases looped round too many.
parent 5898758b
......@@ -523,7 +523,7 @@ function copy_narrow_neon, export=1
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 @@ function copy_narrow_neon, export=1
subs w4, w4, #1
ld1 {v0.h}[0], [x2], #2
st1 {v0.h}[0], [x0], x1
b.ge 22b
b.gt 22b
0:
ret
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment