2012-08-27 Richard Sandiford <rdsandiford@googlemail.com>
+ * gcc.target/mips/ext_ins.c, gcc.target/mips/octeon-pop-2.c,
+ gcc.target/mips/pr54240.c, gcc.target/mips/stack-1.c,
+ gcc.target/mips/unaligned-1.c: Add NOMIPS16.
+
+2012-08-27 Richard Sandiford <rdsandiford@googlemail.com>
+
* gcc.target/mips/20020620-1.c, gcc.target/mips/atomic-memory-2.c,
gcc.target/mips/branch-2.c, gcc.target/mips/branch-3.c,
gcc.target/mips/clear-cache-1.c, gcc.target/mips/const-anchor-1.c,
/* The pop instruction does not depend on the word value to be sign extended. */
/* { dg-final { scan-assembler-not "sll\t" } } */
-long long f(long long i)
+NOMIPS16 long long f(long long i)
{
return __builtin_popcount (i);
}
/* { dg-final { scan-assembler "\tlw\t" } } */
/* { dg-final { scan-assembler-not "\td?addiu\t(\\\$sp,)?\\\$sp,\[1-9\].*\tlw\t" } } */
-int foo (int y)
+/* Avoid use of SAVE and RESTORE. */
+NOMIPS16 int foo (int y)
{
volatile int a = y;
volatile int *volatile b = &a;