From 88c888f1137954fd18c04191b3b8c96ab6681c0c Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Tue, 22 Nov 2016 14:57:28 +0000 Subject: [PATCH] pr53447-5.c: Fix test expectations for neon-fpu. 2016-11-22 Bernd Edlinger * gcc.target/arm/pr53447-5.c: Fix test expectations for neon-fpu. From-SVN: r242700 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/arm/pr53447-5.c | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 80066342345..57b8efd6803 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-11-22 Bernd Edlinger + + * gcc.target/arm/pr53447-5.c: Fix test expectations for neon-fpu. + 2016-11-22 Georg-Johann Lay * c-c++-common/builtin-shuffle-1.c (V): Use 4 * int in vector. diff --git a/gcc/testsuite/gcc.target/arm/pr53447-5.c b/gcc/testsuite/gcc.target/arm/pr53447-5.c index 35988f404f9..da91811710a 100644 --- a/gcc/testsuite/gcc.target/arm/pr53447-5.c +++ b/gcc/testsuite/gcc.target/arm/pr53447-5.c @@ -15,5 +15,8 @@ void foo(long long* p) p[9] -= p[10]; } -/* { dg-final { scan-assembler-times "ldrd" 10 } } */ -/* { dg-final { scan-assembler-times "strd" 9 } } */ +/* We accept neon instructions vldr.64 and vstr.64 as well. + Note: DejaGnu counts patterns with alternatives twice, + so actually there are only 10 loads and 9 stores. */ +/* { dg-final { scan-assembler-times "(ldrd|vldr\\.64)" 20 } } */ +/* { dg-final { scan-assembler-times "(strd|vstr\\.64)" 18 } } */ -- 2.30.2