From: Claudiu Zissulescu Date: Thu, 6 Jun 2019 07:19:36 +0000 (+0200) Subject: [ARC] Update tmac tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=248fabe6a7a04a22079886b6eebc3e6758c2de1e;p=gcc.git [ARC] Update tmac tests. Fix order of dg-directives such that tests are executed only when there is no command line cpu option given. gcc/testsuite/ xxxx-xx-xx Claudiu Zissulescu * gcc.target/arc/tmac-1.c: Reoreder dg-directives. * gcc.target/arc/tmac-2.c: Likewise. From-SVN: r271986 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 18a480fcdab..62262461834 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-06 Claudiu Zissulescu + + * gcc.target/arc/tmac-1.c: Reoreder dg-directives. + * gcc.target/arc/tmac-2.c: Likewise. + 2019-06-05 Martin Sebor PR c/90737 diff --git a/gcc/testsuite/gcc.target/arc/tmac-1.c b/gcc/testsuite/gcc.target/arc/tmac-1.c index e59df5f6b59..3fcabf5fff2 100644 --- a/gcc/testsuite/gcc.target/arc/tmac-1.c +++ b/gcc/testsuite/gcc.target/arc/tmac-1.c @@ -1,5 +1,5 @@ -/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-do compile } */ +/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-options "-O2 -mcpu=archs -mmpy-option=8" } */ /* Test MAC operation for MPY_OPTION = 8. */ @@ -9,4 +9,3 @@ /* { dg-final { scan-assembler "macdu" } } */ /* { dg-final { scan-assembler "mpyd " } } */ /* { dg-final { scan-assembler "mpydu" } } */ - diff --git a/gcc/testsuite/gcc.target/arc/tmac-2.c b/gcc/testsuite/gcc.target/arc/tmac-2.c index f0136bac3e6..ee1339a2f23 100644 --- a/gcc/testsuite/gcc.target/arc/tmac-2.c +++ b/gcc/testsuite/gcc.target/arc/tmac-2.c @@ -1,5 +1,5 @@ -/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-do compile } */ +/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-options "-O2 -mcpu=archs -mmpy-option=7" } */ /* Test MAC operation for MPY_OPTION = 7. */