[FFmpeg-devel] [GASPP PATCH 1/2] Recognize aarch64 register ranges with .16b suffixes too
Martin Storsjö
martin at martin.st
Sun Jan 17 01:15:39 EET 2021
Match e.g. "ld1 {v16.16b-v19.16b}".
Previously this regex only matched lane specifiers with a single
digit, e.g. "ld1 {v16.8h-v19.8h}".
---
gas-preprocessor.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index c4b1c1d..4d78dac 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 =~ /(?:ld|st)\d\s+(\{\s*v(\d+)\.(\d+[bhsdBHSD])\s*-\s*v(\d+)\.(\d+[bhsdBHSD])\s*\})/) {
my $regspec = $1;
my $reg1 = $2;
my $layout1 = $3;
--
2.17.1
More information about the ffmpeg-devel
mailing list