]> git.sesse.net Git - ffmpeg/commit
aarch64: vp8: Fix assembling with clang
authorMartin Storsjö <martin@martin.st>
Thu, 31 Jan 2019 21:43:45 +0000 (23:43 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 19 Feb 2019 09:45:41 +0000 (11:45 +0200)
commit26d7af4c381ee3c7b13b032b3817168b84b98ca6
tree4f03548338b057e6c6d1906d9f99da90bab85771
parent0801853e640624537db386727b36fa97aa6258e7
aarch64: vp8: Fix assembling with clang

This also partially fixes assembling with MS armasm64 (via
gas-preprocessor).

The movrel macro invocations need to pass the offset via a separate
parameter. Mach-o and COFF relocations don't allow a negative
offset to a symbol, which is handled properly if the offset is passed
via the parameter. If no offset parameter is given, the macro
evaluates to something like "adrp x17, subpel_filters-16+(0)", which
older clang versions also fail to parse (the older clang versions
only support one single offset term, although it can be a parenthesis.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/aarch64/vp8dsp_neon.S