This makes the __builtin_ctz(x) intrinsic generate ffs.f %r, %r (find first set) and mov.eq %r, 32 (conditional move) ARC instructions. This change also added the ffs instruction to tablegen with a disassembly test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo