1 /* { dg-options "-mbranch-cost=1 isa>=4" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
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" } } */