[binutils-gdb] aarch64: Add tests for movt with missing "mul vl"
Andrew Carlotti
acarlotti@sourceware.org
Fri Jan 10 16:32:04 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9758466f4673a17caa2b45d678609108066bd56f
commit 9758466f4673a17caa2b45d678609108066bd56f
Author: Andrew Carlotti <andrew.carlotti@arm.com>
Date: Mon Jan 6 17:50:42 2025 +0000
aarch64: Add tests for movt with missing "mul vl"
The error message really isn't appropriate (both here and elsewhere in
the test file), but I don't currently have time to investigate further.
Diff:
---
gas/testsuite/gas/aarch64/sme2-lutv2-illegal.l | 2 ++
gas/testsuite/gas/aarch64/sme2-lutv2-illegal.s | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.l b/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.l
index e889dae7289..f9f2338f499 100644
--- a/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.l
+++ b/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.l
@@ -68,3 +68,5 @@
[^ :]+:[0-9]+: Error: invalid register list at operand 1 -- `luti4 { ?z19.b,z24.b,z27.b,z31.b ?},zt0,{ ?z12 ?- ?z13 ?}'
[^ :]+:[0-9]+: Error: invalid register list at operand 1 -- `luti4 { ?z19.b,z22.b,z27.b,z31.b ?},zt0,{ ?z12 ?- ?z13 ?}'
[^ :]+:[0-9]+: Error: the register list must have a stride of 1 at operand 1 -- `luti4 { ?z19.b,z23.b,z27.b,z31.b ?},zt0,{ ?z12 ?- ?z14 ?}'
+[^ :]+:[0-9]+: Error: comma expected between operands at operand 2 -- `movt zt0\[0\], ?z2'
+[^ :]+:[0-9]+: Error: comma expected between operands at operand 2 -- `movt zt0\[1\], ?z2'
diff --git a/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.s b/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.s
index 4e36ef687fc..293ae488df1 100644
--- a/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.s
+++ b/gas/testsuite/gas/aarch64/sme2-lutv2-illegal.s
@@ -93,3 +93,7 @@
luti4 { z19.b, z24.b, z27.b, z31.b }, zt0, { z12 - z13 }
luti4 { z19.b, z22.b, z27.b, z31.b }, zt0, { z12 - z13 }
luti4 { z19.b, z23.b, z27.b, z31.b }, zt0, { z12 - z14 }
+
+ // Missing "mul vl"
+ movt zt0[0], z2
+ movt zt0[1], z2
More information about the Binutils-cvs
mailing list