Commit 23b49dbe by Catherine Moore Committed by Catherine Moore

no-smartmips-lwxs.c: New test.

	* gcc.target/mips/no-smartmips-lwxs.c: New test.
	* gcc.target/mips/no-smartmips-ror-1.c: New test.

From-SVN: r141759
parent b297d612
2008-11-10 Catherine Moore <clm@codesourcery.com>
* gcc.target/mips/no-smartmips-lwxs.c: New test.
* gcc.target/mips/no-smartmips-ror-1.c: New test.
2008-11-10 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc.target/sh/pr37514.c: New test.
......
/* { dg-do compile } */
/* { dg-mips-options "-O -mno-smartmips" } */
NOMIPS16 int scaled_indexed_word_load (int a[], int b)
{
return a[b];
}
/* { dg-final { scan-assembler-not "\tlwxs\t" } } */
/* { dg-do compile } */
/* { dg-mips-options "-O -mno-smartmips -march=mips32r2" } */
NOMIPS16 int rotate_left (unsigned a, unsigned s)
{
return (a << s) | (a >> (32 - s));
}
/* { dg-final { scan-assembler-not "\tror\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