vlc | branch: master | Janne Grunau <[email protected]> | Sun Oct 16 
21:17:30 2016 +0200| [05c86e67c7eb97fa252dbffc4701537c80a6140d] | committer: 
Jean-Baptiste Kempf

deinterlace: arm64: fix merge asm checks for mod 16 and 32 widths

Refs #17486

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05c86e67c7eb97fa252dbffc4701537c80a6140d
---

 modules/video_filter/deinterlace/merge_arm64.S | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/video_filter/deinterlace/merge_arm64.S 
b/modules/video_filter/deinterlace/merge_arm64.S
index a893cc2..db19e54 100644
--- a/modules/video_filter/deinterlace/merge_arm64.S
+++ b/modules/video_filter/deinterlace/merge_arm64.S
@@ -50,14 +50,14 @@ merge8_arm64_neon:
        st1             {v2.16b,v3.16b}, [DEST], #32
        b.gt            1b
 2:
-       tbnz            SIZE, #32, 3f
+       tbz             SIZE, #5,  3f
        ld1             {v0.16b,v1.16b}, [SRC1], #32
        ld1             {v4.16b,v5.16b}, [SRC2], #32
        uhadd           v0.16b, v0.16b, v4.16b
        uhadd           v1.16b, v1.16b, v5.16b
        st1             {v0.16b,v1.16b}, [DEST], #32
 3:
-       tbnz            SIZE, #16, 4f
+       tbz             SIZE, #4,  4f
        ld1             {v0.16b},  [SRC1]
        ld1             {v4.16b},  [SRC2]
        uhadd           v0.16b, v0.16b, v4.16b
@@ -85,14 +85,14 @@ merge16_arm64_neon:
        subs            x5,  x5,  #64
        b.gt            1b
 2:
-       tbnz            SIZE, #32, 3f
+       tbz             SIZE, #5, 3f
        ld1             {v0.8h,v1.8h}, [SRC1], #32
        ld1             {v4.8h,v5.8h}, [SRC2], #32
        uhadd           v0.8h,  v0.8h,  v4.8h
        uhadd           v1.8h,  v1.8h,  v5.8h
        st1             {v0.8h,v1.8h}, [DEST], #32
 3:
-       tbnz            SIZE, #16, 4f
+       tbz             SIZE, #4,  4f
        ld1             {v0.8h},  [SRC1]
        ld1             {v4.8h},  [SRC2]
        uhadd           v0.8h,  v0.8h,  v4.8h

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to