[LLVMbugs] [Bug 7609] New: Asm generated by clang causes errors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 9 07:19:16 PDT 2010


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

           Summary: Asm generated by clang causes errors
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jpakkane at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5199)
 --> (http://llvm.org/bugs/attachment.cgi?id=5199)
Outputs of -E and -S for the problematic source

I'm building the Cuneiform project (http://launchpad.net/cuneiform-linux) with
the newest svn clang. I get the following error:

[ 33%] Building CXX object
cuneiform_src/Kern/smetric/CMakeFiles/smetric.dir/src/ugol.cpp.o
/tmp/cc-dnDyv6.s: Assembler messages:
/tmp/cc-dnDyv6.s:140: Error: suffix or operands invalid for `movapd'
/tmp/cc-dnDyv6.s:325: Error: suffix or operands invalid for `movapd'
clang: error: assembler (via gcc) command failed with exit code 1 (use -v to
see invocation)

I'll attach the preprocessed source and asm file to this bug but both of the
erroneous lines look like this:

movapd    %xmm0, %st(0)

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