]> git.sesse.net Git - ffmpeg/commitdiff
arm64: replace 'bic' with immediate with 'and' with inverted immediate
authorJanne Grunau <janne-libav@jannau.net>
Thu, 8 Dec 2016 19:40:34 +0000 (20:40 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Wed, 14 Dec 2016 20:53:05 +0000 (21:53 +0100)
The former is not an official pseudo instruction although gas and llvm's
internal assembler support it. Fixes a build error with xcode 6.2
reported by Memphiz on github.

libavcodec/aarch64/synth_filter_neon.S

index 9551bff8e337165cbcf15e73cffe9a4a2fb0abe9..b001c737da9845b477a895915c5d374c9c88c525 100644 (file)
@@ -50,7 +50,7 @@ function ff_synth_filter_float_neon, export=1
         add             x1,  x1,  x7,  lsl #2   // synth_buf
         sub             w8,  w7,  #32
         stp             x5,  x1,  [sp, #16]
-        bic             x7,  x7,  #63
+        and             x7,  x7,  #~63
         and             w8,  w8,  #511
         stp             x7,  x30, [sp, #32]
         str             w8,  [x2]