Commit 9aa45920 authored by Janne Grunau's avatar Janne Grunau

aarch64: assembler in clang-3.4 ignores the division by two

Values are positive powers of two, so just replace it with right shift.
parent 1839fafa
...@@ -348,7 +348,7 @@ function fft\n\()_neon align=6 ...@@ -348,7 +348,7 @@ function fft\n\()_neon align=6
sub x0, x28, #\n4*2*8 sub x0, x28, #\n4*2*8
ldp x28, x30, [sp], #16 ldp x28, x30, [sp], #16
movrel x4, X(ff_cos_\n) movrel x4, X(ff_cos_\n)
mov x2, #\n4/2 mov x2, #\n4>>1
b fft_pass_neon b fft_pass_neon
endfunc endfunc
.endm .endm
......
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