[LLVMbugs] [Bug 9264] New: [mc]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 19 06:57:59 PST 2011


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

           Summary: [mc]
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 4068


clang -integrated-as first error with Linux kernel:
/home/edwin/builds/linux-2.6/arch/x86/include/asm/bitops.h:319:15: error:
ambiguous instructions require an explicit suffix
      (could be 'btw', 'btl', or 'btq')
        asm volatile("bt %2,%1\n\t"
                     ^
<inline asm>:1:2: note: instantiated into assembly here                         
        bt $0,cpu_all_bits
        ^


asm volatile("bt %2,%1\n\t"
             "sbb %0,%0"
             : "=r" (oldbit)
             : "m" (*(unsigned long *)addr), "Ir" (nr));

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list