Module: gas-preprocessor Branch: master Commit: 1a38950b963e094d5aefca48b7c63f38e8eabc1b
Author: Martin Storsjo <[email protected]> Committer: Martin Storsjo <[email protected]> Date: Fri Jan 30 09:57:01 2015 +0200 Support the comma-less syntax for aligned vector loads when converting for armasm --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 202ce78..44d1117 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -893,7 +893,7 @@ sub handle_serialized_line { $line =~ s/\.align\s(\d+)/ALIGN $align/; } # Convert gas style [r0, :128] into armasm [r0@128] alignment specification - $line =~ s/\[([^\[]+),\s*:(\d+)\]/[$1\@$2]/g; + $line =~ s/\[([^\[,]+),?\s*:(\d+)\]/[$1\@$2]/g; # armasm treats logical values {TRUE} and {FALSE} separately from # numeric values - logical operators and values can't be intermixed _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
