blob: d4dc8fe1bba98a37df665b37be14c517243fe834 [file] [log] [blame]
/* { dg-mips-options "-mbranch-cost=10 -mips64 -O2" } */
NOMIPS16 int
foo (int x, int y, int z, int k)
{
return x == k ? x + y : z - x;
}
/* { dg-final { scan-assembler "\t(movz|movn)\t" } } */
/* { dg-final { scan-assembler-not "\t(bne|beq)\t" } } */