]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: Add tests for movt with missing "mul vl"
authorAndrew Carlotti <andrew.carlotti@arm.com>
Mon, 6 Jan 2025 17:50:42 +0000 (17:50 +0000)
committerAndrew Carlotti <andrew.carlotti@arm.com>
Fri, 10 Jan 2025 16:24:33 +0000 (16:24 +0000)
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.

gas/testsuite/gas/aarch64/sme2-lutv2-illegal.l
gas/testsuite/gas/aarch64/sme2-lutv2-illegal.s

index e889dae7289268414ac035010bfd98e4bcc2dbe5..f9f2338f499822bad6a68bf31f1834bbb814f3c7 100644 (file)
@@ -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'
index 4e36ef687fc2b1a8b2628961537984335b60b3ea..293ae488df1de00ba6f26b039716d4fc4d688587 100644 (file)
@@ -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