[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  <claziss@synopsys.com>

	* gcc.target/arc/tmac-1.c: Reoreder dg-directives.
	* gcc.target/arc/tmac-2.c: Likewise.

From-SVN: r271986
This commit is contained in:
Claudiu Zissulescu 2019-06-06 09:19:36 +02:00 committed by Claudiu Zissulescu
parent 65985d7875
commit 248fabe6a7
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2019-06-06 Claudiu Zissulescu <claziss@synopsys.com>
* gcc.target/arc/tmac-1.c: Reoreder dg-directives.
* gcc.target/arc/tmac-2.c: Likewise.
2019-06-05 Martin Sebor <msebor@redhat.com>
PR c/90737

View File

@ -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" } } */

View File

@ -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. */