Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / mips / extend-2.c
bloba2036a899ee1b50b7b88f85a67854f93e2aedc68
1 /* Check the shift_shift alternative of the AND patterns. */
2 /* { dg-do compile } */
3 /* { dg-options "isa_rev<=1 -mgp64" } */
4 /* { dg-final { scan-assembler "\tdsrl\t" } } */
5 /* { dg-final { scan-assembler "\tdsll\t" } } */
6 /* { dg-final { scan-assembler-not "\td?ext\t" } } */
8 unsigned long long
9 f (unsigned long long i)
11 return i & 0xffffffff;