Commit ac6b95db authored by Janne Grunau's avatar Janne Grunau

aarch64: add ',' between assembler macro arguments where missing

llvm's integrated assembler does not accept spaces as macro argument
delimiter when targeting darwin. Using a explicit delimiter is a good
idea in principle since it makes case like 'macro 4 -2' vs 'macro 4 - 2'
clear.
parent caf5ef85
...@@ -336,7 +336,7 @@ function fft_pass_neon ...@@ -336,7 +336,7 @@ function fft_pass_neon
endfunc endfunc
.macro def_fft n, n2, n4 .macro def_fft n, n2, n4
function fft\n\()_neon align=6 function fft\n\()_neon, align=6
sub sp, sp, #16 sub sp, sp, #16
stp x28, x30, [sp] stp x28, x30, [sp]
add x28, x0, #\n4*2*8 add x28, x0, #\n4*2*8
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#define WFRAC_BITS 16 // fractional bits for window #define WFRAC_BITS 16 // fractional bits for window
#define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15) #define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15)
const tbl_rev128.s align=4 const tbl_rev128.s, align=4
.byte 12, 13, 14, 15 .byte 12, 13, 14, 15
.byte 8, 9, 10, 11 .byte 8, 9, 10, 11
.byte 4, 5, 6, 7 .byte 4, 5, 6, 7
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "asm-offsets.h" #include "asm-offsets.h"
.macro shuffle a, b, c, d .macro shuffle a, b, c, d
const shuffle_\a\b\c\d align=4 const shuffle_\a\b\c\d, align=4
.byte (\a * 4), (\a * 4 + 1), (\a * 4 + 2), (\a * 4 + 3) .byte (\a * 4), (\a * 4 + 1), (\a * 4 + 2), (\a * 4 + 3)
.byte (\b * 4), (\b * 4 + 1), (\b * 4 + 2), (\b * 4 + 3) .byte (\b * 4), (\b * 4 + 1), (\b * 4 + 2), (\b * 4 + 3)
.byte (\c * 4), (\c * 4 + 1), (\c * 4 + 2), (\c * 4 + 3) .byte (\c * 4), (\c * 4 + 1), (\c * 4 + 2), (\c * 4 + 3)
...@@ -344,7 +344,7 @@ function fft15_pass ...@@ -344,7 +344,7 @@ function fft15_pass
ret ret
endfunc endfunc
function fft30_neon align=6 function fft30_neon, align=6
sub sp, sp, #0x20 sub sp, sp, #0x20
stp x20, x21, [sp] stp x20, x21, [sp]
stp x22, x30, [sp, #0x10] stp x22, x30, [sp, #0x10]
...@@ -372,7 +372,7 @@ function fft30_neon align=6 ...@@ -372,7 +372,7 @@ function fft30_neon align=6
endfunc endfunc
.macro def_fft n, n2 .macro def_fft n, n2
function fft\n\()_neon align=6 function fft\n\()_neon, align=6
sub sp, sp, #0x30 sub sp, sp, #0x30
stp x20, x21, [sp] stp x20, x21, [sp]
stp x22, x30, [sp, #0x10] stp x22, x30, [sp, #0x10]
...@@ -641,7 +641,7 @@ function ff_celt_imdct_half_neon, export=1 ...@@ -641,7 +641,7 @@ function ff_celt_imdct_half_neon, export=1
endfunc endfunc
// [0] = exp(2 * i * pi / 5), [1] = exp(2 * i * pi * 2 / 5) // [0] = exp(2 * i * pi / 5), [1] = exp(2 * i * pi * 2 / 5)
const fact5 align=4 const fact5, align=4
.float 0.30901699437494745, 0.95105651629515353 .float 0.30901699437494745, 0.95105651629515353
.float -0.80901699437494734, 0.58778525229247325 .float -0.80901699437494734, 0.58778525229247325
endconst endconst
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