Skip to content

Commit

Permalink
Support the comma-less syntax for aligned vector loads when convertin…
Browse files Browse the repository at this point in the history
…g for armasm
  • Loading branch information
mstorsjo committed Feb 2, 2015
1 parent d6487e2 commit 1a38950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gas-preprocessor.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a38950

Please sign in to comment.