* gcc.target/arm/combine-movs.c: Use effective target arm_thumb2.

From-SVN: r191783
This commit is contained in:
Janis Johnson 2012-09-26 23:55:53 +00:00 committed by Janis Johnson
parent c70bc52a66
commit ef13e9de0c
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2012-09-26 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/arm/combine-movs.c: Use effective target arm_thumb2.
* gcc.target/arm/pr42879.c: Handle big-endian.
2012-09-26 Steve Ellcey <sellcey@mips.com>

View File

@ -9,5 +9,5 @@ void foo (unsigned long r[], unsigned int d)
r[i] = 0;
}
/* { dg-final { scan-assembler "lsrs\tr\[0-9\]" { target arm_thumb2_ok } } } */
/* { dg-final { scan-assembler "movs\tr\[0-9\]" { target { ! arm_thumb2_ok} } } } */
/* { dg-final { scan-assembler "lsrs\tr\[0-9\]" { target arm_thumb2 } } } */
/* { dg-final { scan-assembler "movs\tr\[0-9\]" { target { ! arm_thumb2 } } } } */