Commit 229e47f1 by Oleg Endo

re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)

gcc/testsuite/
	PR target/51244
	* gcc.target/sh/pr51244-14.c: Relax criteria for passing the test.

From-SVN: r210301
parent d033409e
2014-05-10 Oleg Endo <olegendo@gcc.gnu.org>
PR target/51244
* gcc.target/sh/pr51244-14.c: Relax criteria for passing the test.
2014-05-10 Marek Polacek <polacek@redhat.com> 2014-05-10 Marek Polacek <polacek@redhat.com>
* gcc.dg/pedwarn-init.c: New test. * gcc.dg/pedwarn-init.c: New test.
......
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
tst r0,r0 tst r0,r0
bf/s .L35 bf/s .L35
where the negated T bit store did not combine properly. Since there are where the negated T bit store did not combine properly. Since there are
other movt insns we only check for the xor and the extu. */ other movt insns and the sequence will try to utilize the 'movt_movrt'
patterns, we only check for the extu. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m5*" } { "" } } */ /* { dg-skip-if "" { "sh*-*-*" } { "-m5*" } { "" } } */
/* { dg-final { scan-assembler-not "xor|extu" } } */ /* { dg-final { scan-assembler-not "extu" } } */
typedef struct transaction_s transaction_t; typedef struct transaction_s transaction_t;
......
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