Module: gas-preprocessor Branch: master Commit: bea3b96460cd76c12f2b6dc50f543badd3475103
Author: Janne Grunau <[email protected]> Committer: Janne Grunau <[email protected]> Date: Mon Jan 13 19:50:06 2014 +0100 aarch64: append optional left shift to certain movi variants 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 f795a31..f845bf1 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; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
