http://llvm.org/bugs/show_bug.cgi?id=22519

            Bug ID: 22519
           Summary: cntlz assembler alias not supported
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

gas supports it, we don't. People use it in inline asm. Blah blah blah.

int foo(uint32_t a) {
  int32_t x;
  asm("cntlz %0,%1" : "=r"(x) : "r"(a));
  return x;
} 

or something.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to