1 /* Check that we use the swap insn for ctz by checking assembler output.
2 The swap instruction was implemented in v8. */
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { "cris*-*-elf" } { "-march*" } { "" } } */
5 /* { dg-options "-O2 -march=v8" } */
6 /* { dg-final { scan-assembler "\[ \t\]swapwbr\[ \t\]" } } */
11 return __builtin_ctz(a
);