Commit cb85ddf7 by Terry Guo Committed by Xuepeng Guo

combine-movs.c: Check movs for ARM mode and lsrs for Thumb2 mode.

2012-09-12  Terry Guo  <terry.guo@arm.com>

        * gcc.target/arm/combine-movs.c: Check movs for ARM mode
        and lsrs for Thumb2 mode.

From-SVN: r191239
parent c1736aea
2012-09-12 Terry Guo <terry.guo@arm.com>
* gcc.target/arm/combine-movs.c: Check movs for ARM mode
and lsrs for Thumb2 mode.
2012-09-12 Jan Hubicka <jh@suse.cz>
* gcc.dg/ipa/inlinehint-2.c: New testcase.
......
......@@ -9,4 +9,5 @@ void foo (unsigned long r[], unsigned int d)
r[i] = 0;
}
/* { dg-final { scan-assembler "movs\tr\[0-9\]" } } */
/* { dg-final { scan-assembler "lsrs\tr\[0-9\]" { target arm_thumb2_ok } }} */
/* { dg-final { scan-assembler "movs\tr\[0-9\]" { target { ! arm_thumb2_ok} } } } */
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