[LLVMdev] [BUG] Support unqualified btr, bts

Ramkumar Ramachandra artagnon at gmail.com
Wed Jul 10 11:12:37 PDT 2013


Hi,

I happened to notice that linux.git uses plenty of btr and bts
instructions (not btrl, btrw, btsl, btsw).  For examples, see
arch/x86/include/asm/bitops.h.  LLVM barfs on these due to ambiguity,
while GNU as is fine with them.  Surely, there must be architectures
where the w/l variant is unavailable?  LLVM must support those
architectures, no?

Thanks.



More information about the llvm-dev mailing list