Message ID | 20210116231540.10974-2-martin@martin.st |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,GASPP,1/2] Recognize aarch64 register ranges with .16b suffixes too | expand |
Context | Check | Description |
---|---|---|
andriy/configure | warning | Failed to apply patch |
On Sun, 17 Jan 2021, Martin Storsjö wrote: > Remove the restriction on matching on the same line as ld1/st1 and > similar ones; the pattern for the register list itself should be > strict enough to avoid false matches. > --- > gas-preprocessor.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl > index 4d78dac..06e376f 100755 > --- a/gas-preprocessor.pl > +++ b/gas-preprocessor.pl > @@ -1087,7 +1087,7 @@ sub handle_serialized_line { > } > > # Convert "ld1 {v0.4h-v3.4h}" into "ld1 {v0.4h,v1.4h,v2.4h,v3.4h}" > - if ($line =~ /(?:ld|st)\d\s+(\{\s*v(\d+)\.(\d+[bhsdBHSD])\s*-\s*v(\d+)\.(\d+[bhsdBHSD])\s*\})/) { > + if ($line =~ /(\{\s*v(\d+)\.(\d+[bhsdBHSD])\s*-\s*v(\d+)\.(\d+[bhsdBHSD])\s*\})/) { > my $regspec = $1; > my $reg1 = $2; > my $layout1 = $3; > -- > 2.17.1 If there's no objections, I'll push these soon. // Martin
diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 4d78dac..06e376f 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -1087,7 +1087,7 @@ sub handle_serialized_line { } # Convert "ld1 {v0.4h-v3.4h}" into "ld1 {v0.4h,v1.4h,v2.4h,v3.4h}" - if ($line =~ /(?:ld|st)\d\s+(\{\s*v(\d+)\.(\d+[bhsdBHSD])\s*-\s*v(\d+)\.(\d+[bhsdBHSD])\s*\})/) { + if ($line =~ /(\{\s*v(\d+)\.(\d+[bhsdBHSD])\s*-\s*v(\d+)\.(\d+[bhsdBHSD])\s*\})/) { my $regspec = $1; my $reg1 = $2; my $layout1 = $3;