https://gcc.gnu.org/g:da15e5fec25eeb2c3163ddf7de11a1036da03b96
commit r17-3976-gda15e5fec25eeb2c3163ddf7de11a1036da03b96 Author: Richard Earnshaw <[email protected]> Date: Mon Sep 7 13:46:17 2026 +0100 arm: testsuite: fix testsuite fallout for fix to [PR111609] I missed this test in the previous commit. Looking at the patterns though revealed that they were far too permissive, accepting output that was not valid. gcc/testsuite/ChangeLog: PR target/111609 * gcc.target/arm/vfp-shift-a2t2.c: Fix test and simplify match patterns. Diff: --- gcc/testsuite/gcc.target/arm/vfp-shift-a2t2.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/vfp-shift-a2t2.c b/gcc/testsuite/gcc.target/arm/vfp-shift-a2t2.c index 51a7f9a897f2..73e7524cd40a 100644 --- a/gcc/testsuite/gcc.target/arm/vfp-shift-a2t2.c +++ b/gcc/testsuite/gcc.target/arm/vfp-shift-a2t2.c @@ -11,17 +11,16 @@ uint16x8_t test_vshll_n_u8 (uint8x8_t a) { return vshll_n_u8(a, 8); } +/* { dg-final { scan-assembler {vshll\.i8\tq[0-9]+, d[0-9]+, #8} } } */ uint32x4_t test_vshll_n_u16 (uint16x4_t a) -{ +{ return vshll_n_u16(a, 16); } +/* { dg-final { scan-assembler {vshll\.i16\tq[0-9]+, d[0-9]+, #16} } } */ uint64x2_t test_vshll_n_u32 (uint32x2_t a) { return vshll_n_u32(a, 32); } - -/* { dg-final { scan-assembler "vshll\.u16\[ \]+\[qQ\]\[0-9\]+, \[dD\]\[0-9\]+, #\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */ -/* { dg-final { scan-assembler "vshll\.u32\[ \]+\[qQ\]\[0-9\]+, \[dD\]\[0-9\]+, #\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */ -/* { dg-final { scan-assembler "vshll\.u8\[ \]+\[qQ\]\[0-9\]+, \[dD\]\[0-9\]+, #\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */ +/* { dg-final { scan-assembler {vshll\.i32\tq[0-9]+, d[0-9]+, #32} } } */
