[AArch64] Check branch types for noplt testcases
authorJiong Wang <jiong.wang@arm.com>
Fri, 7 Aug 2015 13:26:23 +0000 (13:26 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Fri, 7 Aug 2015 13:26:23 +0000 (13:26 +0000)
2015-08-07  Jiong Wang  <jiong.wang@arm.com>

gcc/testsuite/
  * gcc.target/aarch64/noplt_1.c: Check branch type instead of relocation
  modifers.
  * gcc.target/aarch64/noplt_2.c: Likewise.
  * gcc.target/aarch64/noplt_3.c: Likewise.

From-SVN: r226721

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/noplt_1.c
gcc/testsuite/gcc.target/aarch64/noplt_2.c
gcc/testsuite/gcc.target/aarch64/noplt_3.c

index 66d57bb6aac6d615dbd64e7bc774c47c0cc9d5de..04a1fae3f1286bb14bccb23226df8f3f9962cf49 100644 (file)
@@ -1,3 +1,10 @@
+2015-08-07  Jiong Wang  <jiong.wang@arm.com>
+
+       * gcc.target/aarch64/noplt_1.c: Check branch type instead of relocation
+       modifers.
+       * gcc.target/aarch64/noplt_2.c: Likewise.
+       * gcc.target/aarch64/noplt_3.c: Likewise.
+
 2015-08-06  David Malcolm  <dmalcolm@redhat.com>
 
        * jit.dg/test-benchmark.c (main): Record all elapsed times at each
index 4e9bb62ba1c745271e544dd65fdb4a7a4340f7a8..731fcaea23f112203fa443146e0be462d4fc4268 100644 (file)
@@ -11,5 +11,5 @@ foo (int a)
   return b[a];
 }
 
-/* { dg-final { scan-assembler "#:got:" { target { aarch64_tiny || aarch64_small } } } } */
-/* { dg-final { scan-assembler "#:got_lo12:" { target aarch64_small } } } */
+/* { dg-final { scan-assembler "blr" } } */
+/* { dg-final { scan-assembler-not "bl\t" } } */
index 718999b3c547a7069f494cd9b1ff0c385b840f5a..3be94aafc66d0a3167bd96f331ca3d6ce3441509 100644 (file)
@@ -14,5 +14,5 @@ foo (int a)
   return b0[a] + b1[a];
 }
 
-/* { dg-final { scan-assembler-times "#:got:" 1 { target { aarch64_tiny || aarch64_small } } } } */
-/* { dg-final { scan-assembler-times "#:got_lo12:" 1 { target aarch64_small } } } */
+/* { dg-final { scan-assembler-times "blr" 1 } } */
+/* { dg-final { scan-assembler-times "bl\t" 1 } } */
index c1993b670a6227eabd3175dc4de4dd01169c9c69..ef6e65da8f6794b08d95a1407526de39f3f4a68b 100644 (file)
@@ -16,5 +16,5 @@ cal_novalue (int a)
   dec (a);
 }
 
-/* { dg-final { scan-assembler-times "#:got:" 2 { target { aarch64_tiny || aarch64_small } } } } */
-/* { dg-final { scan-assembler-times "#:got_lo12:" 2 { target aarch64_small } } } */
+/* { dg-final { scan-assembler-times "br" 2 } } */
+/* { dg-final { scan-assembler-not "b\t" } } */