[llvm-bugs] [Bug 30931] New: error: invalid instruction mnemonic 'movsl'

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 7 03:12:51 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=30931

            Bug ID: 30931
           Summary: error: invalid instruction mnemonic 'movsl'
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: amine.khaldi at reactos.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

This was revealed by
https://github.com/reactos/reactos/blob/master/reactos/ntoskrnl/include/internal/i386/ke.h#L738
and then reduced to:

void foo(void)
{
    __asm rep movsd;
}

cl /c compiles it without errors, but clang-cl /c emits:

error: invalid instruction mnemonic 'movsl'
    __asm rep movsd;
    ^
<inline asm>(2,6):  note: instantiated into assembly here
        rep movsd
            ^~~~~
1 error generated.

-- 
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/20161107/7dddb609/attachment.html>


More information about the llvm-bugs mailing list