Debian Codegraph @

gcc/testsuite/gcc.target/vax/ffssi.c

raw
1 /* { dg-do compile } */
2
3 int
4 ffssi (int x)
5 {
6 return __builtin_ffs (x);
7 }
8
9 /* Expect assembly like:
10
11 ffs $0,$32,%r1,%r0
12 jneq .L2
13 mnegl $1,%r0
14 .L2:
15 incl %r0
16
17 */
18
19 /* { dg-final { scan-assembler "\tffs \\\$0,\\\$32," } } */