diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-08-07 13:26:23 +0000 |
---|---|---|
committer | Jiong Wang <jiwang@gcc.gnu.org> | 2015-08-07 13:26:23 +0000 |
commit | a044d2b1b6c85f88451e83649977ad908011b1f4 (patch) | |
tree | ea109179ee4427e18f2f9d4b8b43009fa9d60109 | |
parent | 27f40df4100fcb1dabb9095156354f71dd3114f0 (diff) | |
download | gcc-a044d2b1b6c85f88451e83649977ad908011b1f4.zip gcc-a044d2b1b6c85f88451e83649977ad908011b1f4.tar.gz gcc-a044d2b1b6c85f88451e83649977ad908011b1f4.tar.bz2 |
[AArch64] Check branch types for noplt testcases
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/noplt_1.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/noplt_2.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/noplt_3.c | 4 |
4 files changed, 13 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 66d57bb..04a1fae 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.target/aarch64/noplt_1.c b/gcc/testsuite/gcc.target/aarch64/noplt_1.c index 4e9bb62..731fcae 100644 --- a/gcc/testsuite/gcc.target/aarch64/noplt_1.c +++ b/gcc/testsuite/gcc.target/aarch64/noplt_1.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/noplt_2.c b/gcc/testsuite/gcc.target/aarch64/noplt_2.c index 718999b..3be94aa 100644 --- a/gcc/testsuite/gcc.target/aarch64/noplt_2.c +++ b/gcc/testsuite/gcc.target/aarch64/noplt_2.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/noplt_3.c b/gcc/testsuite/gcc.target/aarch64/noplt_3.c index c1993b6..ef6e65d 100644 --- a/gcc/testsuite/gcc.target/aarch64/noplt_3.c +++ b/gcc/testsuite/gcc.target/aarch64/noplt_3.c @@ -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" } } */ |