summaryrefslogtreecommitdiff
path: root/build/make/thumb.pm
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2022-03-13 06:28:16 +0900
committerJohann <johannkoenig@google.com>2022-03-13 07:50:33 +0900
commit642529248f873d9da8b86e368d9e3af85a2a77a3 (patch)
treebb439abb7bf1ef9a5688f5a91e95f44ab5463440 /build/make/thumb.pm
parent8a50f70ffc5eea6c2392a5c176bfe43e450ecebc (diff)
downloadlibvpx-642529248f873d9da8b86e368d9e3af85a2a77a3.tar
libvpx-642529248f873d9da8b86e368d9e3af85a2a77a3.tar.gz
libvpx-642529248f873d9da8b86e368d9e3af85a2a77a3.tar.bz2
libvpx-642529248f873d9da8b86e368d9e3af85a2a77a3.zip
ads2gas[_apple].pl: remove unused stanzas
Many of the features in ads2gas are no longer used. Remove all patterns which are no longer used in libvpx. Simplify between the two to minimize differences. Change-Id: Ia1151eb8b694cbe51845a1374a876cc7b798899c
Diffstat (limited to 'build/make/thumb.pm')
-rw-r--r--build/make/thumb.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/make/thumb.pm b/build/make/thumb.pm
index 9c49e2d8b..ef4b31677 100644
--- a/build/make/thumb.pm
+++ b/build/make/thumb.pm
@@ -11,11 +11,8 @@
package thumb;
-sub FixThumbInstructions($$)
+sub FixThumbInstructions($)
{
- my $short_branches = $_[1];
- my $branch_shift_offset = $short_branches ? 1 : 0;
-
# Write additions with shifts, such as "add r10, r11, lsl #8",
# in three operand form, "add r10, r10, r11, lsl #8".
s/(add\s+)(r\d+),\s*(r\d+),\s*(lsl #\d+)/$1$2, $2, $3, $4/g;