]> 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 21:41:47 +0000 (23:41 +0200)
commitc950beb68dee016e0e0a1b729d40abf700d32d1a
tree5a16c3b74069af4e0bb1f70bbe173f76e3af2d36
parentabc5ac3cf5176189f43062f6a3e29fd012134613
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>
(cherry picked from commit 26d7af4c381ee3c7b13b032b3817168b84b98ca6)
libavcodec/aarch64/vp8dsp_neon.S