Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / mips / ext-5.c
blob8bab2148f49c2963b02e4158e5ccb5da39c6b2e6
1 /* For MIPS32r2 use EXT when ANDing with low-order bitmasks. */
2 /* { dg-do compile } */
3 /* { dg-options "isa_rev>=2" } */
4 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
5 /* { dg-final { scan-assembler "\text\t" } } */
6 /* { dg-final { scan-assembler-not "\tandi?\t" } } */
8 NOMIPS16 unsigned
9 f (unsigned i)
11 return i & 0x7ffffff;