thumb-ifcvt.c: Only run for -mthumb.

2012-03-27  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

	* gcc.target/arm/thumb-ifcvt.c: Only run for -mthumb.
	* gcc.target/arm/thumb-16bit-ops.c: Likewise.

From-SVN: r185855
This commit is contained in:
Ramana Radhakrishnan 2012-03-27 10:26:37 +00:00 committed by Ramana Radhakrishnan
parent 9e916de770
commit d102ab714f
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-03-27 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* gcc.target/arm/thumb-ifcvt.c: Only run for -mthumb.
* gcc.target/arm/thumb-16bit-ops.c: Likewise.
2012-03-26 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/50052

View File

@ -1,7 +1,7 @@
/* Check that the compiler properly uses 16-bit encodings where available. */
/* { dg-do compile } */
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-Os -fno-builtin" } */
/* { dg-options "-Os -fno-builtin -mthumb" } */
int
f (int a, int b )

View File

@ -1,7 +1,7 @@
/* Check that Thumb 16-bit shifts can be if-converted. */
/* { dg-do compile } */
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mthumb" } */
int
foo (int a, int b)