[AArch64,testsuite] Fix epilogue scan after ifcombine update.
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 7 Feb 2017 09:32:14 +0000 (09:32 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 7 Feb 2017 09:32:14 +0000 (10:32 +0100)
2017-02-07  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.target/aarch64/test_frame_1.c: Scan epilogue with
scan-assembler instead of scan-assembler-times.
* gcc.target/aarch64/test_frame_10.c: Likewise.
* gcc.target/aarch64/test_frame_12.c: Likewise.
* gcc.target/aarch64/test_frame_2.c: Likewise.
* gcc.target/aarch64/test_frame_4.c: Likewise.
* gcc.target/aarch64/test_frame_6.c: Likewise.
* gcc.target/aarch64/test_frame_7.c: Likewise.
* gcc.target/aarch64/test_frame_8.c: Likewise.

From-SVN: r245242

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/test_frame_1.c
gcc/testsuite/gcc.target/aarch64/test_frame_10.c
gcc/testsuite/gcc.target/aarch64/test_frame_12.c
gcc/testsuite/gcc.target/aarch64/test_frame_2.c
gcc/testsuite/gcc.target/aarch64/test_frame_4.c
gcc/testsuite/gcc.target/aarch64/test_frame_6.c
gcc/testsuite/gcc.target/aarch64/test_frame_7.c
gcc/testsuite/gcc.target/aarch64/test_frame_8.c

index c3a855a5debb05fc1bbe0e2994ffd807a306baf4..e83e85f64c0fc68b23152009cee08dd315b5f238 100644 (file)
@@ -1,3 +1,15 @@
+2017-02-07  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.target/aarch64/test_frame_1.c: Scan epilogue with
+       scan-assembler instead of scan-assembler-times.
+       * gcc.target/aarch64/test_frame_10.c: Likewise.
+       * gcc.target/aarch64/test_frame_12.c: Likewise.
+       * gcc.target/aarch64/test_frame_2.c: Likewise.
+       * gcc.target/aarch64/test_frame_4.c: Likewise.
+       * gcc.target/aarch64/test_frame_6.c: Likewise.
+       * gcc.target/aarch64/test_frame_7.c: Likewise.
+       * gcc.target/aarch64/test_frame_8.c: Likewise.
+
 2017-02-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * gcc.target/i386/pr78419.c: Require ifunc support.
index e7c7255334b511b21e03cee43172c16cb36c4611..f906b0735454b45cbb4886443899ab9d780b1ded 100644 (file)
@@ -14,5 +14,5 @@ t_frame_pattern (test1, 200, )
 t_frame_run (test1)
 
 /* { dg-final { scan-assembler-times "str\tx30, \\\[sp, -\[0-9\]+\\\]!" 2 } } */
-/* { dg-final { scan-assembler-times "ldr\tx30, \\\[sp\\\], \[0-9\]+" 2 } } */
+/* { dg-final { scan-assembler "ldr\tx30, \\\[sp\\\], \[0-9\]+" } } */
 
index e23a4a83528b71a0de0c95752a9e530bf4ca79e5..c19505082fa1f77e4f039fb3a16027b8003809dc 100644 (file)
@@ -15,5 +15,5 @@ t_frame_pattern_outgoing (test10, 480, "x19", 24, a[8], a[9], a[10])
 t_frame_run (test10)
 
 /* { dg-final { scan-assembler-times "stp\tx19, x30, \\\[sp, \[0-9\]+\\\]" 1 } } */
-/* { dg-final { scan-assembler-times "ldp\tx19, x30, \\\[sp, \[0-9\]+\\\]" 1 } } */
+/* { dg-final { scan-assembler "ldp\tx19, x30, \\\[sp, \[0-9\]+\\\]" } } */
 
index 3d7d3594610c645d2d6f449b6ee0400fdd395849..62761e7ff9b3fd0afc064f9a9b737583261b0610 100644 (file)
@@ -14,5 +14,5 @@ t_frame_run (test12)
 /* { dg-final { scan-assembler-times "sub\tsp, sp, #\[0-9\]+" 1 } } */
 
 /* Check epilogue using no write-back.  */
-/* { dg-final { scan-assembler-times "ldp\tx29, x30, \\\[sp, \[0-9\]+\\\]" 1 } } */
+/* { dg-final { scan-assembler "ldp\tx29, x30, \\\[sp, \[0-9\]+\\\]" } } */
 
index bbe201da278d3ed170e095253f94d39da9dd2442..7e5df84cf5f92a20a40f1558ab59de663a534ff6 100644 (file)
@@ -15,5 +15,5 @@ t_frame_run (test2)
 
 
 /* { dg-final { scan-assembler-times "stp\tx19, x30, \\\[sp, -\[0-9\]+\\\]!" 1 } } */
-/* { dg-final { scan-assembler-times "ldp\tx19, x30, \\\[sp\\\], \[0-9\]+" 1 } } */
+/* { dg-final { scan-assembler "ldp\tx19, x30, \\\[sp\\\], \[0-9\]+" } } */
 
index e32049e5e83c36defd4ad920e75942157bbcd1e1..ed13487a094ad14e5177acc57e4025c45cc80be9 100644 (file)
@@ -14,5 +14,5 @@ t_frame_pattern (test4, 400, "x19")
 t_frame_run (test4)
 
 /* { dg-final { scan-assembler-times "stp\tx19, x30, \\\[sp, -\[0-9\]+\\\]!" 1 } } */
-/* { dg-final { scan-assembler-times "ldp\tx19, x30, \\\[sp\\\], \[0-9\]+" 1 } } */
+/* { dg-final { scan-assembler "ldp\tx19, x30, \\\[sp\\\], \[0-9\]+" } } */
 
index 6a753dff87e28fa71a2f69df5fb95559163fa6cd..56259c945d2634fe6e33661ab7fad07b47850185 100644 (file)
@@ -14,6 +14,6 @@ t_frame_pattern (test6, 700, )
 t_frame_run (test6)
 
 /* { dg-final { scan-assembler-times "str\tx30, \\\[sp\\\]" 1 } } */
-/* { dg-final { scan-assembler-times "ldr\tx30, \\\[sp\\\]" 2 } } */
-/* { dg-final { scan-assembler-times "ldr\tx30, \\\[sp\\\]," 1 } } */
+/* { dg-final { scan-assembler "ldr\tx30, \\\[sp\\\]" } } */
+/* { dg-final { scan-assembler "ldr\tx30, \\\[sp\\\]," } } */
 
index f2a8713d19d9f7df49073e9588c5d74661491fb6..96452794956f9ab34ff2b78cec0a78d5ef255eb3 100644 (file)
@@ -14,5 +14,5 @@ t_frame_pattern (test7, 700, "x19")
 t_frame_run (test7)
 
 /* { dg-final { scan-assembler-times "stp\tx19, x30, \\\[sp]" 1 } } */
-/* { dg-final { scan-assembler-times "ldp\tx19, x30, \\\[sp\\\]" 1 } } */
+/* { dg-final { scan-assembler "ldp\tx19, x30, \\\[sp\\\]" } } */
 
index 9b6c6939eb5c3ae1bdcab7fb854b6c519f054c20..75a68b41e08c051e67c9f67901f198992d254790 100644 (file)
@@ -13,5 +13,5 @@ t_frame_pattern_outgoing (test8, 700, , 8, a[8])
 t_frame_run (test8)
 
 /* { dg-final { scan-assembler-times "str\tx30, \\\[sp, \[0-9\]+\\\]" 1 } } */
-/* { dg-final { scan-assembler-times "ldr\tx30, \\\[sp, \[0-9\]+\\\]" 1 } } */
+/* { dg-final { scan-assembler "ldr\tx30, \\\[sp, \[0-9\]+\\\]" } } */