From: Andrew Carlotti Date: Mon, 6 Jan 2025 17:50:42 +0000 (+0000) Subject: aarch64: Add tests for movt with missing "mul vl" X-Git-Tag: binutils-2_44~199 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9758466f4673a17caa2b45d678609108066bd56f;p=thirdparty%2Fbinutils-gdb.git 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 --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