On Mon, Oct 27, 2014 at 02:00:26PM +0000, Robinson, Paul wrote: > So the architecturally cleanest solution is to ... Expose the llvm.cttz /llvm.ctlz with 1 as second argument as new __builtin_cttz / __builtin_ctlz builtins and teach people to use those? Joerg