[LLVMbugs] [Bug 7459] New: llvm-mc movsx not recognized

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 23 00:39:46 PDT 2010


           Summary: llvm-mc movsx not recognized
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: astrange at ithinksw.com
                CC: llvmbugs at cs.uiuc.edu

void f()
asm volatile ("movsx %ax, %eax");

gcc/as compile this to "movswl %ax, %eax".
llvm-mc doesn't accept it:

> ~/checker-242/bin/clang -m64 -c movsx.c
movsx.c:3:15: error: unrecognized instruction
asm volatile ("movsx %ax, %eax");
<inline asm>:1:2: note: instantated into assembly here
        movsx %ax, %eax
1 error generated.

This prevents x264 from compiling.

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