From 887687b02e260fb76b1a3503c4b30d0978f24cdf Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 18 May 2016 12:33:36 +0000 Subject: [PATCH] noplt_3.c: Scan for "br\t". * gcc.target/aarch64/noplt_3.c: Scan for "br\t". * gcc.target/aarch64/tail_indirect_call_1.c: Scan for "br\t", "blr\t" and switch to scan-assembler-times. From-SVN: r236377 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/aarch64/noplt_3.c | 2 +- gcc/testsuite/gcc.target/aarch64/tail_indirect_call_1.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6c51f7114a3..4ef03d9dcd4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-05-19 Christophe Lyon + + * gcc.target/aarch64/noplt_3.c: Scan for "br\t". + * gcc.target/aarch64/tail_indirect_call_1.c: Scan for "br\t", + "blr\t" and switch to scan-assembler-times. + 2016-05-18 Jiong Wang * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h: Guard float64_t diff --git a/gcc/testsuite/gcc.target/aarch64/noplt_3.c b/gcc/testsuite/gcc.target/aarch64/noplt_3.c index ef6e65da8f6..a3826184549 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 "br" 2 } } */ +/* { dg-final { scan-assembler-times "br\t" 2 } } */ /* { dg-final { scan-assembler-not "b\t" } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/tail_indirect_call_1.c b/gcc/testsuite/gcc.target/aarch64/tail_indirect_call_1.c index 4759d20df9c..de8f12d6e22 100644 --- a/gcc/testsuite/gcc.target/aarch64/tail_indirect_call_1.c +++ b/gcc/testsuite/gcc.target/aarch64/tail_indirect_call_1.c @@ -3,8 +3,8 @@ typedef void FP (int); -/* { dg-final { scan-assembler "br" } } */ -/* { dg-final { scan-assembler-not "blr" } } */ +/* { dg-final { scan-assembler-times "br\t" 2 } } */ +/* { dg-final { scan-assembler-not "blr\t" } } */ void f1 (FP fp, int n) { -- 2.30.2