• Martin Storsjö's avatar
    aarch64: vp8: Fix assembling with clang · 26d7af4c
    Martin Storsjö authored
    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: 's avatarMartin Storsjö <martin@martin.st>
    26d7af4c
vp8dsp_neon.S 39.7 KB