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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
            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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to