2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / branch-cost-2.c
blob23f528ad63fd91b13f464b84e26081c4778ac718
1 /* { dg-options "-mbranch-cost=10 isa>=4 -O2" } */
2 NOMIPS16 int
3 foo (int x, int y, int z, int k)
5 return x == k ? x + y : z - x;
7 /* { dg-final { scan-assembler "\t(movz|movn)\t" } } */
8 /* { dg-final { scan-assembler-not "\t(bne|beq)\t" } } */