[LLVMbugs] [Bug 9379] New: MC assembler doesn't recognize inl (%%dx)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 2 14:51:50 PST 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: pageexec at freemail.hu
                CC: llvmbugs at cs.uiuc.edu, pageexec at freemail.hu
            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.



More information about the llvm-bugs mailing list