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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".