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.
---
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 51a7f9a897f..73e7524cd40 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} } } */
--
2.43.0