Commit 63555e69 authored by Janne Grunau's avatar Janne Grunau Committed by Henrik Gramner

aarch64: fix x264_mbtree_propagate_cost_neon

The branch conditon caused the loop to execute one time more than
intended. Detected by a memory corruption on arm with the 1 to 1 port of
the function.
parent 5c4728d8
......@@ -1556,7 +1556,7 @@ function x264_mbtree_propagate_cost_neon, export=1
sqxtn v0.4h, v20.4s
sqxtn2 v0.8h, v21.4s
st1 {v0.8h}, [x0], #16
b.ge 8b
b.gt 8b
ret
endfunc
......
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