[LLVMbugs] [Bug 22519] New: cntlz assembler alias not supported

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 9 09:41:06 PST 2015


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: unassignedbugs at nondot.org
          Reporter: echristo at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150209/b933cd73/attachment.html>


More information about the llvm-bugs mailing list