Xcode 5 and 5.1 complain over the missing shift although it's optional
according to the reference manual.
---
gas-preprocessor.pl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index f88c266..ed01141 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -625,6 +625,10 @@ sub handle_serialized_line {
if ($line =~
/^\s*mov\s+(v\d[\.{}\[\]\w]+),\s*(v\d[\.{}\[\]\w]+)\b\s*$/) {
$line = " orr $1, $2, $2\n";
}
+ # movi 8, 16, 32 bit shifted variant, shift is optional
+ if ($line =~
/^\s*movi\s+(v[0-3]?\d\.(?:2|4|8|16)[bhsBHS])\s*,\s*(#\w+)\b\s*$/) {
+ $line = " movi $1, $2, lsl #0\n";
+ }
}
print ASMFILE $line;
--
1.8.5.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel