On 2015-02-18 23:17:39 +0200, Martin Storsjö wrote:
> This avoids false positive matching of e.g. "vmov s1, r4", which
> shouldn't have any .f32 suffix. Only add the suffix for things
> matching "vmov/vadd sX, sY".
> ---
> gas-preprocessor.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
> index 44d1117..52ab556 100755
> --- a/gas-preprocessor.pl
> +++ b/gas-preprocessor.pl
> @@ -930,7 +930,7 @@ sub handle_serialized_line {
> # Misc bugs/deficiencies:
> # armasm seems unable to parse e.g. "vmov s0, s1" without a type
> # qualifier, thus add .f32.
> - $line =~ s/^(\s+(?:vmov|vadd))(\s+s)/$1.f32$2/;
> + $line =~ s/^(\s+(?:vmov|vadd))(\s+s\d+\s*,\s*s\d+)/$1.f32$2/;
> # armasm is unable to parse &0x - add spacing
> $line =~ s/&0x/& 0x/g;
> }
ok
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel