summaryrefslogtreecommitdiff
path: root/libavcodec/aarch64
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-05-13 15:47:51 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-05-13 19:44:09 +0200
commit9aa4592076d4dbb29d1198b0e258f9f85c0c00b5 (patch)
treef8eea9f1df3d677b530b2a1fd3e383fb366f7ba5 /libavcodec/aarch64
parent1839fafa951308237c4672ffd9a94f927b26eac7 (diff)
aarch64: assembler in clang-3.4 ignores the division by two
Values are positive powers of two, so just replace it with right shift.
Diffstat (limited to 'libavcodec/aarch64')
-rw-r--r--libavcodec/aarch64/fft_neon.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aarch64/fft_neon.S b/libavcodec/aarch64/fft_neon.S
index 5189bfb4ef..98023497d1 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