Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / mips / branch-cost-1.c
blob61c3029dd77abd617eedbcd3f4d93030c166bbea
1 /* { dg-options "-mbranch-cost=1 isa>=4" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
3 NOMIPS16 int
4 foo (int x, int y, int z, int k)
6 return x == k ? x + y : z - x;
8 /* { dg-final { scan-assembler-not "\t(movz|movn)\t" } } */
9 /* { dg-final { scan-assembler "\t(bnec?|beqc?)\t" } } */