2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / branch-cost-1.c
blobd825e06176e3952206dd504deac0ecac7de7e1a1
1 /* { dg-options "-mbranch-cost=1 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-not "\t(movz|movn)\t" } } */
8 /* { dg-final { scan-assembler "\t(bne|beq)\t" } } */