shithub: libvpx

Download patch

ref: 33dedd0628500a8a437a6d670265bdc2812a5bb5
parent: 1c07abca18d2e7f1868f085288b8ed7d98fdd2ed
parent: 1b982cc64faf3be94da69435460f317efa4965e4
author: Johann Koenig <johannkoenig@google.com>
date: Thu Aug 18 15:54:54 EDT 2016

Merge "Remove '-chromium' flag from ads2gas_apple.pl"

--- a/build/make/ads2gas_apple.pl
+++ b/build/make/ads2gas_apple.pl
@@ -18,12 +18,6 @@
 # Usage: cat inputfile | perl ads2gas_apple.pl > outputfile
 #
 
-my $chromium = 0;
-
-foreach my $arg (@ARGV) {
-    $chromium = 1 if ($arg eq "-chromium");
-}
-
 print "@ This file was created from a .asm file\n";
 print "@  using the ads2gas_apple.pl script.\n\n";
 print "\t.set WIDE_REFERENCE, 0\n";
@@ -217,19 +211,6 @@
 #   s/\$/\\/g;                  # End macro definition
     s/\bMEND\b/.endm/;              # No need to tell it where to stop assembling
     next if /^\s*END\s*$/;
-
-    # Clang used by Chromium differs slightly from clang in XCode in what it
-    # will accept in the assembly.
-    if ($chromium) {
-        s/qsubaddx/qsax/i;
-        s/qaddsubx/qasx/i;
-        s/ldrneb/ldrbne/i;
-        s/ldrneh/ldrhne/i;
-        s/(vqshrun\.s16 .*, \#)0$/${1}8/i;
-
-        # http://llvm.org/bugs/show_bug.cgi?id=16022
-        s/\.include/#include/;
-    }
 
     print;
 }