[SCM] libav/experimental: aarch64: assembler in clang-3.4 ignores the division by two

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:07 UTC 2014


The following commit has been merged in the experimental branch:
commit 9aa4592076d4dbb29d1198b0e258f9f85c0c00b5
Author: Janne Grunau <janne-libav at jannau.net>
Date:   Tue May 13 15:47:51 2014 +0200

    aarch64: assembler in clang-3.4 ignores the division by two
    
    Values are positive powers of two, so just replace it with right shift.

diff --git a/libavcodec/aarch64/fft_neon.S b/libavcodec/aarch64/fft_neon.S
index 5189bfb..9802349 100644
--- a/libavcodec/aarch64/fft_neon.S
+++ b/libavcodec/aarch64/fft_neon.S
@@ -348,7 +348,7 @@ function fft\n\()_neon  align=6
         sub             x0,  x28, #\n4*2*8
         ldp             x28, x30, [sp], #16
         movrel          x4,  X(ff_cos_\n)
-        mov             x2,  #\n4/2
+        mov             x2,  #\n4>>1
         b               fft_pass_neon
 endfunc
 .endm

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list