diff options
author | Johann <johannkoenig@google.com> | 2016-08-17 14:05:16 -0700 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2016-08-17 14:05:16 -0700 |
commit | 1b982cc64faf3be94da69435460f317efa4965e4 (patch) | |
tree | 592bbf1afa1af4f360eb9ca6cef06eb8c7e737a9 | |
parent | af3b0de732e2c90dd7216894559f3b1a5b5f21e5 (diff) | |
download | libvpx-1b982cc64faf3be94da69435460f317efa4965e4.tar libvpx-1b982cc64faf3be94da69435460f317efa4965e4.tar.gz libvpx-1b982cc64faf3be94da69435460f317efa4965e4.tar.bz2 libvpx-1b982cc64faf3be94da69435460f317efa4965e4.zip |
Remove '-chromium' flag from ads2gas_apple.pl
The flag was added because Apple clang and Chromium clang disagreed
for certain versions of instructions.
qsubaddx, qaddsubx, ldrneb and ldrneh were used in armv6 assembly
which was removed in d55724fae9cb27e070add7952394fc0427ef2061
vqshrun was used in some neon assembly but superseded by
dcbfacbb984cdcd5b5a5030103305fa3669dfece
.include was used for obj_int_extract/asm_offsets and removed in
6eec73a747f3d14d327cdc33279de96d0deb48c8
Change-Id: I32f4c9b536d0318482101c0b8e91e42b8f545f18
-rwxr-xr-x | build/make/ads2gas_apple.pl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/build/make/ads2gas_apple.pl b/build/make/ads2gas_apple.pl index a82f3eba8..1a9e105ba 100755 --- 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"; @@ -218,18 +212,5 @@ while (<STDIN>) 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; } |