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

           Summary: MC assembler doesn't recognize inl (%%dx)
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
            Blocks: 4068


while compiling linux with integrated-as i get the following error:

arch/x86/kernel/cpu/vmware.c:48:2: error: invalid operand for instruction
        VMWARE_PORT(GETVERSION, eax, ebx, ecx, edx);
        ^
arch/x86/kernel/cpu/vmware.c:38:10: note: instantiated from:
        __asm__("inl (%%dx)" :                                          \
                ^
<inline asm>:1:6: note: instantiated into assembly here
        inl (%dx)
            ^

while 'in' doesn't take a memory operand, apparently gas can digest this form
as well, so i'll leave it up to you if you want to support this bug/feature as
an exception or not.

-- 
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