[libav-commits] aarch64: convert dup to something Xcode5 understands

Janne Grunau git at libav.org
Thu Apr 3 18:21:50 CEST 2014


Module: gas-preprocessor
Branch: master
Commit: 0f8e101938e4c33a6eb0132ceda9391493c104c5

Author:    Janne Grunau <janne-libav at jannau.net>
Committer: Janne Grunau <janne-libav at jannau.net>
Date:      Thu Mar 27 09:08:33 2014 +0100

aarch64: convert dup to something Xcode5 understands

---

 gas-preprocessor.pl |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index 6dd9cc6..1abe9fe 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -803,6 +803,10 @@ sub handle_serialized_line {
                 $line =~ s/\b(saddl2?)(\s+v[0-3]?\d\.(\w+))\b/$1.$3$2/;
                 $line =~ s/\b(v[0-3]?\d)\.\w+\b/$1/g;
             }
+            if ($line =~ /^\s*dup\b.*\]$/) {
+                $line =~ s/\bdup(\s+v[0-3]?\d)\.(\w+)\b/dup.$2$1/g;
+                $line =~ s/\b(v[0-3]?\d)\.[bhsdBHSD](\[\d\])$/$1$2/g;
+            }
         }
     }
 



More information about the libav-commits mailing list