Commit 248fabe6 by Claudiu Zissulescu Committed by Claudiu Zissulescu

[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
parent 65985d78
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
......
/* { 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" } } */
/* { 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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment